Skip to content

Commit

Permalink
Merge pull request #6278 from murraystevenson/transformPrimitiveTestT…
Browse files Browse the repository at this point in the history
…imeout

PrimitiveAlgoTest : Increase transformPrimitive cancellation threshold
  • Loading branch information
johnhaddon authored Feb 21, 2025
2 parents ba84cbc + a9a9ae3 commit 16b2944
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
import math
import pathlib
import random
import sys
import threading
import time

Expand Down Expand Up @@ -171,7 +172,7 @@ def slowTransform():
# than being avoided entirely.
time.sleep( 0.01 )

acceptableCancellationDelay = 0.01 if GafferTest.inCI() else 0.001
acceptableCancellationDelay = { "win32" : 0.04 }.get( sys.platform, 0.01 ) if GafferTest.inCI() else 0.001

canceller.cancel()
thread.join()
Expand Down

0 comments on commit 16b2944

Please sign in to comment.