fix flaky load tables test for boltdb-shipper uploads table-manager (#2891)

pull/2892/head
Sandeep Sukhani 5 years ago committed by GitHub
parent e2aee2a9c3
commit fd451d97f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/storage/stores/shipper/uploads/table_manager_test.go

@ -95,6 +95,8 @@ func TestLoadTables(t *testing.T) {
tm, err := NewTableManager(cfg, boltDBIndexClient, storageClient, nil)
require.NoError(t, err)
defer tm.Stop()
require.Len(t, tm.tables, len(expectedTables))
stat, err := os.Stat(filepath.Join(indexPath, "table0", "table0"))

Loading…
Cancel
Save