File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,14 @@ public static function getAdditionalConfigFiles(): array
5757
5858 public function testNotUsingIndex (): void
5959 {
60+ if ('pdo-pgsql ' === getenv ('DBA_REFLECTOR ' )) {
61+ self ::markTestSkipped ('query plan analyzer is not yet implemented for pgsql ' );
62+ }
63+
64+ if (ReflectorFactory::MODE_RECORDING !== getenv ('DBA_MODE ' )) {
65+ self ::markTestSkipped ('query plan analyzer requires a active database connection ' );
66+ }
67+
6068 $ this ->numberOfAllowedUnindexedReads = true ;
6169 $ this ->numberOfRowsNotRequiringIndex = 2 ;
6270
@@ -104,6 +112,14 @@ public function testNotUsingIndex(): void
104112
105113 public function testNotUsingIndexInDebugMode (): void
106114 {
115+ if ('pdo-pgsql ' === getenv ('DBA_REFLECTOR ' )) {
116+ self ::markTestSkipped ('query plan analyzer is not yet implemented for pgsql ' );
117+ }
118+
119+ if (ReflectorFactory::MODE_RECORDING !== getenv ('DBA_MODE ' )) {
120+ self ::markTestSkipped ('query plan analyzer requires a active database connection ' );
121+ }
122+
107123 $ this ->debugMode = true ;
108124 $ this ->numberOfAllowedUnindexedReads = true ;
109125 $ this ->numberOfRowsNotRequiringIndex = 2 ;
You can’t perform that action at this time.
0 commit comments