Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v1.14.6
  • v1.14.5
  • v1.14.4
  • v1.14.3
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.13.2
  • v1.13.1
  • v1.13.0
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.2
  • v1.9.1
  • v1.9.0
  • v1.8.4
  • v1.8.3
21 results

utils.py

Blame
    • Rafael Guterres Jeffman's avatar
      3216f8df
      upstream ci: Avoid scheduling tests that will not be executed. · 3216f8df
      Rafael Guterres Jeffman authored
      Currently, all tests are scheduled to execution, even those that are
      not executed due to being absent from the list of enabled tests
      configured in the IPA_ENABLED_* variables. The tests that are not
      executed are marked 'skipped'.
      
      This patch change this behavior by not scheduling tests that are not
      configured to be executed. It means that tests not the IPA_DISABLED_*
      lists are not skipped anymore, but not scheduled to be executed. If
      any test is in IPA_ENABLED_* lists, only those tests are marked for
      execution. A side effect is that there is no visual feedback on which
      tests were not executed, as disabled tests are not evaluated anymore.
      
      Also, when IPA_SERVER_HOST was not set, all tests were skipped, but
      an error should raised in this case, as there are no hosts to run the
      tests against.
      
      This patch modifies this behavior to fail the test with an exception if
      IPA_SERVER_HOST is not set.
      3216f8df
      History
      upstream ci: Avoid scheduling tests that will not be executed.
      Rafael Guterres Jeffman authored
      Currently, all tests are scheduled to execution, even those that are
      not executed due to being absent from the list of enabled tests
      configured in the IPA_ENABLED_* variables. The tests that are not
      executed are marked 'skipped'.
      
      This patch change this behavior by not scheduling tests that are not
      configured to be executed. It means that tests not the IPA_DISABLED_*
      lists are not skipped anymore, but not scheduled to be executed. If
      any test is in IPA_ENABLED_* lists, only those tests are marked for
      execution. A side effect is that there is no visual feedback on which
      tests were not executed, as disabled tests are not evaluated anymore.
      
      Also, when IPA_SERVER_HOST was not set, all tests were skipped, but
      an error should raised in this case, as there are no hosts to run the
      tests against.
      
      This patch modifies this behavior to fail the test with an exception if
      IPA_SERVER_HOST is not set.