Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#923 Make MasterSlaveReplication iterable by extending AbstractConnection #934

Open
wants to merge 1 commit into
base: v2.x
Choose a base branch
from

Conversation

Gregoire-M
Copy link

Fixes #923

@Gregoire-M Gregoire-M marked this pull request as ready for review January 11, 2023 13:55
throw new \RuntimeException('Not implemented.');
}

protected function getIdentifier()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need a test for this on the MasterSlaveReplication.

@tillkruss tillkruss self-assigned this Jan 11, 2023
@tillkruss tillkruss added the bug label Jan 11, 2023

protected function createResource()
{
throw new \RuntimeException('Not implemented.');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MInor: Use FQDN

@@ -268,12 +268,12 @@ public function testDisconnectForcesCurrentConnectionToDisconnect(): void
{
$master = $this->getMockConnection('tcp://127.0.0.1:6379?role=master');
$master
->expects($this->once())
->expects($this->exactly(2))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't call disconnect twice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 participants