Skip to content

Commit

Permalink
update rest of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tybritten committed Aug 8, 2022
1 parent 9dc40a2 commit 15876ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions indexers/contacts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ func TestContacts(t *testing.T) {
// and simulate another indexer doing a parallel rebuild
ix2 := indexers.NewContactIndexer(elasticURL, aliasName, 4)

indexName2, err := ix2.Index(db, true, false)
indexName2, err := ix2.Index(db, true, false, 2, 1)
assert.NoError(t, err)
assert.Equal(t, expectedIndexName+"_1", indexName2) // new index used
assertIndexerStats(t, ix2, 8, 0)
Expand All @@ -255,7 +255,7 @@ func TestContacts(t *testing.T) {

// simulate another indexer doing a parallel rebuild with cleanup
ix3 := indexers.NewContactIndexer(elasticURL, aliasName, 4)
indexName3, err := ix3.Index(db, true, true)
indexName3, err := ix3.Index(db, true, true, 2, 1)
assert.NoError(t, err)
assert.Equal(t, expectedIndexName+"_2", indexName3) // new index used
assertIndexerStats(t, ix3, 8, 0)
Expand Down

0 comments on commit 15876ac

Please sign in to comment.