File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -2169,9 +2169,6 @@ func TestExpectOne(t *testing.T) {
2169
2169
func TestGetProvisionerJobsByIDsWithQueuePosition (t * testing.T ) {
2170
2170
t .Parallel ()
2171
2171
2172
- now := dbtime .Now ()
2173
- ctx := testutil .Context (t , testutil .WaitShort )
2174
-
2175
2172
testCases := []struct {
2176
2173
name string
2177
2174
jobTags []database.StringMap
@@ -2393,6 +2390,8 @@ func TestGetProvisionerJobsByIDsWithQueuePosition(t *testing.T) {
2393
2390
t .Run (tc .name , func (t * testing.T ) {
2394
2391
t .Parallel ()
2395
2392
db , _ := dbtestutil .NewDB (t )
2393
+ now := dbtime .Now ()
2394
+ ctx := testutil .Context (t , testutil .WaitShort )
2396
2395
2397
2396
// Create provisioner jobs based on provided tags:
2398
2397
allJobs := make ([]database.ProvisionerJob , len (tc .jobTags ))
You can’t perform that action at this time.
0 commit comments