Skip to content

Commit ba1a3a7

Browse files
committed
asim: remove run.stateStrAcrossSamples append
This commit removes an unused run.stateStrAcrossSamples append. I left the field itself in place in the struct since it causes no harm, though we can consider deleting it entirely.
1 parent a6cba88 commit ba1a3a7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pkg/kv/kvserver/asim/tests/datadriven_simulation_test.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,6 @@ func TestDataDriven(t *testing.T) {
539539
duration, clusterGen, rangeGen, loadGen,
540540
settingsGen, eventGen, seedGen.Int63(), tmpStrB,
541541
)
542-
run.stateStrAcrossSamples = append(run.stateStrAcrossSamples, simulator.State().String())
543542
if stateStrForOnce == "" {
544543
stateStrForOnce = tmpStrB.String()
545544
}
@@ -698,9 +697,8 @@ func TestDataDriven(t *testing.T) {
698697
}
699698

700699
type modeHistory struct {
701-
mode string
702-
hs []history.History
703-
stateStrAcrossSamples []string
700+
mode string
701+
hs []history.History
704702
}
705703

706704
func generateTopology(

0 commit comments

Comments
 (0)