Skip to content

Commit

Permalink
[FAB-10722] fix data race on MockLedgerInfo
Browse files Browse the repository at this point in the history
Change-Id: I69e9a3cd2c60f4bc616221936067cbcd30433486
Signed-off-by: Matthew Sykes <sykesmat@us.ibm.com>
  • Loading branch information
sykesm committed Jul 1, 2018
1 parent c561eb2 commit d1c39f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/deliverservice/deliveryclient_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func TestDeliverServiceRestart(t *testing.T) {
os.Shutdown()
time.Sleep(time.Second * 3)
os = mocks.NewOrderer(5611, t)
li.Height = 103
atomic.StoreUint64(&li.Height, uint64(103))
os.SetNextExpectedSeek(uint64(103))
go os.SendBlock(uint64(103))
assertBlockDissemination(103, gossipServiceAdapter.GossipBlockDisseminations, t)
Expand Down

0 comments on commit d1c39f9

Please sign in to comment.