Skip to content

Commit 82ce891

Browse files
authored
fix: fix failing test in 0.45 (#14741)
1 parent 6ab492c commit 82ce891

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

store/streaming/file/service_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ func TestFileStreamingService(t *testing.T) {
119119
defer os.RemoveAll(testDir)
120120

121121
testKeys := []types.StoreKey{mockStoreKey1, mockStoreKey2}
122-
testStreamingService, err := NewStreamingService(testDir, testPrefix, testKeys, testMarshaller, true, false, false)
122+
var err error
123+
testStreamingService, err = NewStreamingService(testDir, testPrefix, testKeys, testMarshaller, true, false, false)
123124
require.Nil(t, err)
124125
require.IsType(t, &StreamingService{}, testStreamingService)
125126
require.Equal(t, testPrefix, testStreamingService.filePrefix)

0 commit comments

Comments
 (0)