Skip to content

Commit c9f3e58

Browse files
committed
Fix test_recovery_random exit code.
CI doesn't appreciate 0 when the test actually fails.
1 parent adb9bcc commit c9f3e58

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.gitlab-ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ make_check:
7979
dependencies:
8080
- build_core_image
8181
artifacts:
82-
expire_in: 24 hours
8382
when: always
8483
paths:
8584
- postgrespro/contrib/mmts/tmp_check/log

tests/test_recovery_random.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,4 @@ def _test_single_failure(self):
110110
# python -u -m unittest test_recovery.RecoveryTest.test_single_failure
111111
if __name__ == '__main__':
112112
# run all tests
113-
runner = unittest.TextTestRunner(verbosity=1, failfast=True)
114-
suite = unittest.defaultTestLoader.loadTestsFromTestCase(RecoveryTest)
115-
runner.run(suite)
113+
unittest.main()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy