Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <[email protected]>
  • Loading branch information
pingsutw committed Oct 8, 2023
1 parent e198282 commit 728a72e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func Test_monitor(t *testing.T) {
client.OnStatusMatch(ctx, mock.Anything).Return(core2.PhaseInfoSuccess(nil), nil)

wg := sync.WaitGroup{}
wg.Add(4)
wg.Add(8)
cacheObj, err := cache.NewAutoRefreshCache(rand.String(5), func(ctx context.Context, batch cache.Batch) (updatedBatch []cache.ItemSyncResponse, err error) {
wg.Done()
t.Logf("Syncing Item [%+v]", batch[0])
Expand Down

0 comments on commit 728a72e

Please sign in to comment.