You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the test TestMessageNotReceivedWithoutRelay, the test fails because the receiver node successfully receives the message even though both the sender and receiver nodes have Relay = false.
This behavior contradicts the expected outcome, where the message should not be propagated through the network when the relay functionality is disabled.
Steps to Reproduce:
Run the following test case:
go test -v -run ^TestMessageNotReceivedWithoutRelay$ ./testlibs/waku-go-tests
2.Observe the logs and test output.
3.Despite having Relay = false for both nodes, the message is still received, causing the test to fail.
** Expected Behavior:**
ReceiverNode should NOT receive the message when both nodes have Relay = false.
The test should pass if the message is not received.
Actual Behavior:
The receiver node receives the message, causing the test to fail unexpectedly.
This suggests that messages are being propagated even without the relay functionality enabled.
Test Failure Output:
--- FAIL: TestMessageNotReceivedWithoutRelay (3.01s)
test_no_relay_message.go:50: Test failed: ReceiverNode SHOULD NOT have received the message
FAIL
exit status 1
FAIL github.com/waku-org/waku-go-bindings/testlibs/waku-go-tests 3.015s
### **Possible Cause:**
The relay configuration (Relay = false) might not be properly enforced during node initialization.
The text was updated successfully, but these errors were encountered:
Description:
When running the test
TestMessageNotReceivedWithoutRelay
, the test fails because the receiver node successfully receives the message even though both the sender and receiver nodes haveRelay = false
.This behavior contradicts the expected outcome, where the message should not be propagated through the network when the relay functionality is disabled.
Steps to Reproduce:
go test -v -run ^TestMessageNotReceivedWithoutRelay$ ./testlibs/waku-go-tests
2.Observe the logs and test output.
3.Despite having Relay = false for both nodes, the message is still received, causing the test to fail.
** Expected Behavior:**
ReceiverNode should NOT receive the message when both nodes have Relay = false.
The test should pass if the message is not received.
Actual Behavior:
The receiver node receives the message, causing the test to fail unexpectedly.
This suggests that messages are being propagated even without the relay functionality enabled.
Test Failure Output:
The text was updated successfully, but these errors were encountered: