From 98feed8e2b0ecf271141292e42d263afdafca6cf Mon Sep 17 00:00:00 2001 From: sanaz Date: Wed, 25 Sep 2024 13:31:44 -0700 Subject: [PATCH] adds a clarifying comment --- state/state_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/state/state_test.go b/state/state_test.go index 7c17605e43..dc5914a6d9 100644 --- a/state/state_test.go +++ b/state/state_test.go @@ -149,6 +149,9 @@ func TestStateSaveLoad(t *testing.T) { }) assert := assert.New(t) + // the timeouts coming from the setupTestCase are 0, + // we change it here just to ensure that they have non-zero values in the + // tests below state.TimeoutCommit = 10 * time.Second state.TimeoutPropose = 5 * time.Second state.LastBlockHeight++