package store import ( "context" "testing" "time" ) func TestExecutionPoolQueriesUseTimestampCutoff(t *testing.T) { db := billingV2IntegrationStore(t) ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) defer cancel() if _, err := db.ListWorkers(ctx, time.Now()); err != nil { t.Fatalf("list workers with timestamp cutoff: %v", err) } if _, err := db.ListCapacity(ctx, time.Now()); err != nil { t.Fatalf("list capacity with timestamp cutoff: %v", err) } }