@@ -144,8 +144,6 @@ def test_init_after_cleanup(self):
144
144
node .cleanup ()
145
145
node .init ().start ().execute ('select 1' )
146
146
147
- # @unittest.skipUnless(util_exists('pg_resetwal.exe' if os.name == 'nt' else 'pg_resetwal'), 'pgbench might be missing')
148
- # @unittest.skipUnless(pg_version_ge('9.6'), 'requires 9.6+')
149
147
def test_init_unique_system_id (self ):
150
148
# this function exists in PostgreSQL 9.6+
151
149
__class__ .helper__skip_test_if_util_not_exist ("pg_resetwal" )
@@ -456,7 +454,6 @@ def test_replicate(self):
456
454
res = node .execute ('select * from test' )
457
455
assert (res == [])
458
456
459
- # @unittest.skipUnless(pg_version_ge('9.6'), 'requires 9.6+')
460
457
def test_synchronous_replication (self ):
461
458
__class__ .helper__skip_test_if_pg_version_is_not_ge ("9.6" )
462
459
@@ -499,7 +496,6 @@ def test_synchronous_replication(self):
499
496
res = standby1 .safe_psql ('select count(*) from abc' )
500
497
assert (rm_carriage_returns (res ) == b'1000000\n ' )
501
498
502
- # @unittest.skipUnless(pg_version_ge('10'), 'requires 10+')
503
499
def test_logical_replication (self ):
504
500
__class__ .helper__skip_test_if_pg_version_is_not_ge ("10" )
505
501
@@ -570,7 +566,6 @@ def test_logical_replication(self):
570
566
res = node2 .execute ('select * from test2' )
571
567
assert (res == [('a' , ), ('b' , )])
572
568
573
- # @unittest.skipUnless(pg_version_ge('10'), 'requires 10+')
574
569
def test_logical_catchup (self ):
575
570
""" Runs catchup for 100 times to be sure that it is consistent """
576
571
__class__ .helper__skip_test_if_pg_version_is_not_ge ("10" )
@@ -595,7 +590,6 @@ def test_logical_catchup(self):
595
590
assert (res == [(i , i , )])
596
591
node1 .execute ('delete from test' )
597
592
598
- # @unittest.skipIf(pg_version_ge('10'), 'requires <10')
599
593
def test_logical_replication_fail (self ):
600
594
__class__ .helper__skip_test_if_pg_version_is_ge ("10" )
601
595
@@ -774,7 +768,6 @@ def test_logging(self):
774
768
master .restart ()
775
769
assert (master ._logger .is_alive ())
776
770
777
- # @unittest.skipUnless(util_exists('pgbench.exe' if os.name == 'nt' else 'pgbench'), 'pgbench might be missing')
778
771
def test_pgbench (self ):
779
772
__class__ .helper__skip_test_if_util_not_exist ("pgbench" )
780
773
0 commit comments