Просмотр исходного кода

Skip test causing the entire process to be killed

The integration tests currently patch Coriolis to run tasks in
threads instead of subprocesses.

One of the tests injects a failure, getting the task canceled.
The problem is that Coriolis will attempt to kill process, which
in this case terminates the test runner itself.

We'll re-enable it once we switch to external services.
Lucian Petrut 2 недель назад
Родитель
Сommit
329174ab3f
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      coriolis/tests/integration/test_failure_recovery.py

+ 4 - 0
coriolis/tests/integration/test_failure_recovery.py

@@ -13,6 +13,7 @@ exception, triggers a transfer execution, and asserts that:
 Must be run as root; requires the scsi_debug kernel module.
 """
 
+import unittest
 from unittest import mock
 
 from coriolis.tests.integration import base
@@ -24,6 +25,9 @@ class TransferFailureIntegrationTest(base.ReplicaIntegrationTestBase):
 
     def test_error_status_on_provider_failure(self):
         """Execution reaches ERROR when target resource deployment fails."""
+        raise unittest.SkipTest(
+            "Currently skipped, causes the test process to be killed. "
+            "Re-enable the test once we switch to external Coriolis services.")
 
         injected_error = Exception("injected target resource failure")