@@ -144,8 +144,6 @@ def test_init_after_cleanup(self):
144144 node .cleanup ()
145145 node .init ().start ().execute ('select 1' )
146146
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+')
149147 def test_init_unique_system_id (self ):
150148 # this function exists in PostgreSQL 9.6+
151149 __class__ .helper__skip_test_if_util_not_exist ("pg_resetwal" )
@@ -456,7 +454,6 @@ def test_replicate(self):
456454 res = node .execute ('select * from test' )
457455 assert (res == [])
458456
459- # @unittest.skipUnless(pg_version_ge('9.6'), 'requires 9.6+')
460457 def test_synchronous_replication (self ):
461458 __class__ .helper__skip_test_if_pg_version_is_not_ge ("9.6" )
462459
@@ -499,7 +496,6 @@ def test_synchronous_replication(self):
499496 res = standby1 .safe_psql ('select count(*) from abc' )
500497 assert (rm_carriage_returns (res ) == b'1000000\n ' )
501498
502- # @unittest.skipUnless(pg_version_ge('10'), 'requires 10+')
503499 def test_logical_replication (self ):
504500 __class__ .helper__skip_test_if_pg_version_is_not_ge ("10" )
505501
@@ -570,7 +566,6 @@ def test_logical_replication(self):
570566 res = node2 .execute ('select * from test2' )
571567 assert (res == [('a' , ), ('b' , )])
572568
573- # @unittest.skipUnless(pg_version_ge('10'), 'requires 10+')
574569 def test_logical_catchup (self ):
575570 """ Runs catchup for 100 times to be sure that it is consistent """
576571 __class__ .helper__skip_test_if_pg_version_is_not_ge ("10" )
@@ -595,7 +590,6 @@ def test_logical_catchup(self):
595590 assert (res == [(i , i , )])
596591 node1 .execute ('delete from test' )
597592
598- # @unittest.skipIf(pg_version_ge('10'), 'requires <10')
599593 def test_logical_replication_fail (self ):
600594 __class__ .helper__skip_test_if_pg_version_is_ge ("10" )
601595
@@ -774,7 +768,6 @@ def test_logging(self):
774768 master .restart ()
775769 assert (master ._logger .is_alive ())
776770
777- # @unittest.skipUnless(util_exists('pgbench.exe' if os.name == 'nt' else 'pgbench'), 'pgbench might be missing')
778771 def test_pgbench (self ):
779772 __class__ .helper__skip_test_if_util_not_exist ("pgbench" )
780773
0 commit comments