Skip to content

Commit 7b6841a

Browse files
committed
Added debugging statement
1 parent 890bcee commit 7b6841a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/Integration/BaseCase.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,16 @@ protected function setUp(): void
4545

4646
$this->connect();
4747

48-
if ($this->mySQLReplicationFactory?->getServerInfo()->versionRevision >= 8 && $this->mySQLReplicationFactory?->getServerInfo()->isGeneric()) {
48+
$binLogServerInfo = $this->mySQLReplicationFactory?->getServerInfo();
49+
50+
if ($binLogServerInfo?->versionRevision >= 8 && $binLogServerInfo?->isGeneric()) {
4951
self::assertInstanceOf(RotateDTO::class, $this->getEvent());
5052
}
5153
self::assertInstanceOf(FormatDescriptionEventDTO::class, $this->getEvent());
5254
self::assertInstanceOf(QueryDTO::class, $this->getEvent());
5355
self::assertInstanceOf(QueryDTO::class, $this->getEvent());
56+
57+
echo "Using $binLogServerInfo?->versionName $binLogServerInfo->versionRevision";
5458
}
5559

5660
protected function tearDown(): void

0 commit comments

Comments
 (0)