Skip to content

Commit 9dcaed6

Browse files
committed
[FAB-10954] data race core/comm/producer
TestUpdateEndpoints was modifying package scoped variables while all of the other tests were concurrently reading it. This is a race. Disabling parallel execution for this test. Change-Id: Ic3979ddba54685ced5ac9eb7111d0d3cf4b34053 Signed-off-by: Matthew Sykes <sykesmat@us.ibm.com>
1 parent 003566e commit 9dcaed6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/comm/producer_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ func TestUpdateEndpoints(t *testing.T) {
100100
}
101101

102102
func TestDisableEndpoint(t *testing.T) {
103-
t.Parallel()
104103
orgEndpointDisableInterval := EndpointDisableInterval
105104
EndpointDisableInterval = time.Millisecond * 100
106105
defer func() { EndpointDisableInterval = orgEndpointDisableInterval }()

0 commit comments

Comments
 (0)