diff --git a/lib/SelfTest.php b/lib/SelfTest.php index b45cc01d..971be765 100644 --- a/lib/SelfTest.php +++ b/lib/SelfTest.php @@ -187,6 +187,9 @@ public function test(string $server, OutputInterface $output, bool $ignoreProxyE } usleep(10 * 1000); $binaryVersion = $this->queue->getConnection()->get('notify_push_version'); + if (!$binaryVersion) { + throw new \Exception('push server didn\'t set expected redis key'); + } } catch (\Exception $e) { $msg = $e->getMessage(); $output->writeln("🗴 failed to get binary version: $msg");