Skip to content

DCC/Deadline tests

These tests are opt-in due to external dependencies.

Enable/disable

  • Enable only when PUZZLE_RUN_DCC_TESTS equals one of: 1, true, yes, on (case-insensitive)
  • Otherwise, tests are skipped at module import time

Matrix control

  • tests/support/matrix.py centralizes app/version pairs
  • Override with environment variables:
  • PUZZLE_TEST_MATRIX_JSON (JSON string)
    • Example (PowerShell):
    • $env:PUZZLE_TEST_MATRIX_JSON = '{"mayapy":["2024"],"houdini":["20.5.654"]}'
  • PUZZLE_TEST_APPS (semicolon-separated app:version)
    • Example:
    • $env:PUZZLE_TEST_APPS = "mayapy:2024;houdini:20.5.654"

Timeouts

  • PUZZLE_RESULTS_TIMEOUT and PUZZLE_DEADLINE_TIMEOUT control polling for results.json

Notes

  • Workers must be able to access shared paths for task/data/result files