Skip to content

Commit f58442c

Browse files
dmcilvaneyjslobodzian
authored andcommitted
Fix call to IsSRPMTestActive in new multi build fix (#7992) (#11332)
1 parent 4b29db3 commit f58442c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

toolkit/tools/scheduler/schedulerutils/preparerequest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ func testNodesToRequests(pkgGraph *pkggraph.PkgGraph, buildState *GraphBuildStat
182182
srpmFileName := defaultTestNode.SRPMFileName()
183183

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

0 commit comments

Comments
 (0)