Skip to content

Commit

Permalink
fix(store): Fix the TestFileStreamingService unit test. (backport #14305
Browse files Browse the repository at this point in the history
) (#14309)

Co-authored-by: Daniel Wedul <[email protected]>
Co-authored-by: Julien Robert <[email protected]>
  • Loading branch information
3 people authored Dec 14, 2022
1 parent f71df80 commit 9122aad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion store/streaming/file/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ func TestFileStreamingService(t *testing.T) {
defer os.RemoveAll(testDir)

testKeys := []types.StoreKey{mockStoreKey1, mockStoreKey2}
testStreamingService, err := NewStreamingService(testDir, testPrefix, testKeys, testMarshaller, true, false, false)
var err error
testStreamingService, err = NewStreamingService(testDir, testPrefix, testKeys, testMarshaller, true, false, false)
require.Nil(t, err)
require.IsType(t, &StreamingService{}, testStreamingService)
require.Equal(t, testPrefix, testStreamingService.filePrefix)
Expand Down

0 comments on commit 9122aad

Please sign in to comment.