Skip to content

Commit 1ccb031

Browse files
committed
Fix: collect-product-platform-info job was timing out on failure
* This was because the jobResult was not being returned on failure, only on a success * Add unit-tests for NIC jobs
1 parent c684282 commit 1ccb031

File tree

2 files changed

+456
-1
lines changed

2 files changed

+456
-1
lines changed

pkg/jobs/nic_job_list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,14 +232,14 @@ func NICJobList() []Job {
232232
} else {
233233
jobResult.Files[filepath.Join(dc.BaseDir, fileName)] = jsonBytes
234234
}
235-
ch <- jobResult
236235
}
237236
}
238237
}
239238
}
240239
}
241240
}
242241
}
242+
ch <- jobResult
243243
},
244244
},
245245
}

0 commit comments

Comments
 (0)