fix(pcie): verify GPU links under real bandwidth load
This commit is contained in:
@@ -197,6 +197,10 @@ type satJob struct {
|
||||
name string
|
||||
cmd []string
|
||||
env []string // extra env vars (appended to os.Environ)
|
||||
// afterRun executes immediately after the command exits, before health
|
||||
// probes or artifact processing can let a briefly boosted link return to
|
||||
// its idle power state.
|
||||
afterRun func()
|
||||
// validate checks successful command output against the tool's documented
|
||||
// result format. It may inspect artifacts from earlier jobs in runDir.
|
||||
// FAILED means the tool proved a test failure; UNSUPPORTED means the pinned
|
||||
@@ -373,6 +377,9 @@ func runAcceptancePackCtx(ctx context.Context, baseDir, prefix string, jobs []sa
|
||||
}
|
||||
time.Sleep(2 * time.Second)
|
||||
}
|
||||
if job.afterRun != nil {
|
||||
job.afterRun()
|
||||
}
|
||||
}
|
||||
|
||||
if nvidiaPack && nvidiaJobNeedsHealthCheck(job) {
|
||||
|
||||
Reference in New Issue
Block a user