We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9f8822 commit 84881a0Copy full SHA for 84881a0
coderd/database/querier_test.go
@@ -2169,9 +2169,6 @@ func TestExpectOne(t *testing.T) {
2169
func TestGetProvisionerJobsByIDsWithQueuePosition(t *testing.T) {
2170
t.Parallel()
2171
2172
- now := dbtime.Now()
2173
- ctx := testutil.Context(t, testutil.WaitShort)
2174
-
2175
testCases := []struct {
2176
name string
2177
jobTags []database.StringMap
@@ -2393,6 +2390,8 @@ func TestGetProvisionerJobsByIDsWithQueuePosition(t *testing.T) {
2393
2390
t.Run(tc.name, func(t *testing.T) {
2394
2391
2395
2392
db, _ := dbtestutil.NewDB(t)
+ now := dbtime.Now()
+ ctx := testutil.Context(t, testutil.WaitShort)
2396
2397
// Create provisioner jobs based on provided tags:
2398
allJobs := make([]database.ProvisionerJob, len(tc.jobTags))
0 commit comments