Commit b2cd56a5 authored by kinuthia's avatar kinuthia
Browse files

increase job timeout, test a subset of decoder test

parent ff490e12
Loading
Loading
Loading
Loading
+12 −3
Original line number Diff line number Diff line
@@ -1050,7 +1050,7 @@ test-be-to-release:
  tags:
    - test-be-to-release-windows
  resource_group: ivas-be-to-release-test-resource
  timeout: "20 minutes"
  timeout: "5 hours"  # to be reviewed
  rules:
    - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == 'test-be-release'
  script:
@@ -1064,12 +1064,21 @@ test-be-to-release:
    # path to release candidate refs defined in config.toml
    - mkdir logs

    # test generating references, fail after first error on decoder
    # test generating references
    - echo "generate references"

    - ("& python -m pytest .\tests\codec_be_to_accepted_release\encoder --update_ref 1 -n $NPROC | tee 'logs/test_encoder-update_ref-log.txt'  ") | Invoke-Expression
    - If($LASTEXITCODE) {("exit $LASTEXITCODE") | Invoke-Expression}
    - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_constant_bitrate_no_binaural.py --update_ref 1 -n $NPROC -x | tee 'logs/test_decoder_constant_bitrate_no_binaural-update_ref-log.txt'  ") | Invoke-Expression
    # - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_constant_bitrate_no_binaural.py --update_ref 1 -n $NPROC -x | tee 'logs/test_decoder_constant_bitrate_no_binaural-update_ref-log.txt'  ") | Invoke-Expression

    # temporarily test cases that fail

    # test_decoder_scenebased
    - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_constant_bitrate_no_binaural.py::test_decoder_scenebased --update_ref 1 -n $NPROC | tee 'logs/test_decoder_constant_bitrate_no_binaural_test_decoder_scenebased-update_ref-log.txt'  ") | Invoke-Expression
    - If($LASTEXITCODE) {("exit $LASTEXITCODE") | Invoke-Expression}
    
    # test_decoder_combined_formats
    - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_constant_bitrate_no_binaural.py::test_decoder_combined_formats --update_ref 1 -n $NPROC | tee 'logs/test_decoder_constant_bitrate_no_binaural_test_decoder_combined_formats-update_ref-log.txt'  ") | Invoke-Expression
    - If($LASTEXITCODE) {("exit $LASTEXITCODE") | Invoke-Expression}