Skip to content

Commit

Permalink
Fix call to IsSRPMTestActive in new multi build fix (#7992) (#11332)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcilvaney authored and jslobodzian committed Dec 6, 2024
1 parent 4b29db3 commit f58442c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolkit/tools/scheduler/schedulerutils/preparerequest.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func testNodesToRequests(pkgGraph *pkggraph.PkgGraph, buildState *GraphBuildStat
srpmFileName := defaultTestNode.SRPMFileName()

// Check if we already queued up this build node for building.
if buildState.IsSRPMBuildActive(srpmFileName) || buildState.IsNodeProcessed(defaultTestNode) {
if buildState.IsSRPMTestActive(srpmFileName) || buildState.IsNodeProcessed(defaultTestNode) {
err = fmt.Errorf("unexpected duplicate test for (%s)", srpmFileName)
// Temporarily ignore the error, this state is unexpected but not fatal. Error return will be
// restored later once the underlying cause of this error is fixed.
Expand Down

0 comments on commit f58442c

Please sign in to comment.