File: regression_tests_skip_citus_test.patch

package info (click to toggle)
patroni 4.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 4,708 kB
  • sloc: python: 28,942; sh: 565; makefile: 29
file content (15 lines) | stat: -rw-r--r-- 581 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: patroni/tests/test_citus.py
===================================================================
--- patroni.orig/tests/test_citus.py
+++ patroni/tests/test_citus.py
@@ -11,7 +11,10 @@ from patroni.psycopg import ProgrammingE
 from . import BaseTestPostgresql, MockCursor, psycopg_connect, SleepException
 from .test_ha import get_cluster_initialized_with_leader
 
+import unittest
 
+
+@unittest.skipIf(True, "Citus not tested")
 @patch('patroni.postgresql.mpp.citus.Thread', Mock())
 @patch('patroni.psycopg.connect', psycopg_connect)
 class TestCitus(BaseTestPostgresql):