Skip to content

Commit

Permalink
[Go] Fix manifest test (#85)
Browse files Browse the repository at this point in the history
Signed-off-by: sunby <[email protected]>
  • Loading branch information
sunby committed Nov 2, 2023
1 parent 276c831 commit 9efb3ea
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions go/storage/manifest/manifest_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
package manifest

import (
"sync"
"testing"

"github.com/apache/arrow/go/v12/arrow"
"github.com/milvus-io/milvus-storage/go/common/utils"
"github.com/milvus-io/milvus-storage/go/file/fragment"
Expand All @@ -9,8 +12,6 @@ import (
"github.com/milvus-io/milvus-storage/go/storage/schema"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"sync"
"testing"
)

// Test Manifest
Expand Down Expand Up @@ -203,7 +204,7 @@ func TestManifestReaderWriter_concurrency(t *testing.T) {
// read manifest file
m, err = NewManifestReaderWriter(f, tmpDir).Read(99)
assert.NoError(t, err)
assert.NotEqual(t, manifest.version, m.version)
assert.NotEqual(t, 99, m.version)
}

// Test Manifest commit concurrency
Expand Down

0 comments on commit 9efb3ea

Please sign in to comment.