Skip to content

Commit

Permalink
Change machine destroy order in TestEntriesAreDeletedFromPreimageReso…
Browse files Browse the repository at this point in the history
…lversGlobalMap
  • Loading branch information
diegoximenes committed Oct 30, 2024
1 parent efc592f commit 7ebf2dc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions validator/server_arb/machine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ func TestEntriesAreDeletedFromPreimageResolversGlobalMap(t *testing.T) {
machine1_clone1.Destroy()
checkKeys([]int64{machine1.contextId, machine2.contextId}, "after machine1_clone1 destroy")

machine1.Destroy()
checkKeys([]int64{machine1.contextId, machine2.contextId}, "after machine1 destroy")

machine1_clone2.Destroy()
checkKeys([]int64{machine1.contextId, machine2.contextId}, "after machine1_clone2 destroy")
checkKeys([]int64{machine2.contextId}, "after machine1_clone2 destroy")

machine2.Destroy()
checkKeys([]int64{machine1.contextId}, "after machine2 destroy")

machine1.Destroy()
checkKeys([]int64{}, "after machine1 destroy")
checkKeys([]int64{}, "after machine2 destroy")
}

0 comments on commit 7ebf2dc

Please sign in to comment.