diff --git a/ss/store_test.go b/ss/store_test.go index 861a4a1..d1de2f2 100644 --- a/ss/store_test.go +++ b/ss/store_test.go @@ -17,12 +17,12 @@ func TestNewStateStore(t *testing.T) { ssConfig := config.StateStoreConfig{ DedicatedChangelog: true, Backend: string(PebbleDBBackend), - AsyncWriteBuffer: 10, - KeepRecent: 100, + AsyncWriteBuffer: 50, + KeepRecent: 500, } stateStore, err := NewStateStore(logger.NewNopLogger(), tempDir, ssConfig) require.NoError(t, err) - for i := 1; i < 10; i++ { + for i := 1; i < 20; i++ { var changesets []*proto.NamedChangeSet kvPair := &iavl.KVPair{ Delete: false, @@ -49,7 +49,7 @@ func TestNewStateStore(t *testing.T) { require.NoError(t, err) // Make sure key and values can be found - for i := 1; i < 10; i++ { + for i := 1; i < 20; i++ { value, err := stateStore.Get("storeA", int64(i), []byte(fmt.Sprintf("key%d", i))) require.NoError(t, err) require.Equal(t, fmt.Sprintf("value%d", i), string(value))