Skip to content

Commit 2d377ce

Browse files
kortatuacud
authored andcommitted
pss: fixed flaky test that was using a global variable instead of a local one (ethersphere#1702)
1 parent e712b70 commit 2d377ce

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pss/forwarding_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,11 @@ type testCase struct {
2626
errors string
2727
}
2828

29-
var testCases []testCase
30-
3129
// the purpose of this test is to see that pss.forward() function correctly
3230
// selects the peers for message forwarding, depending on the message address
3331
// and kademlia constellation.
3432
func TestForwardBasic(t *testing.T) {
35-
t.Skip("Flaky on macOS on local machines")
33+
var testCases []testCase
3634
baseAddrBytes := make([]byte, 32)
3735
for i := 0; i < len(baseAddrBytes); i++ {
3836
baseAddrBytes[i] = 0xFF

0 commit comments

Comments
 (0)