Skip to content

Commit c8f20ee

Browse files
committed
fixing query options wait time value test
1 parent d6471b1 commit c8f20ee

File tree

53 files changed

+8
-2745
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+8
-2745
lines changed

src/QueryOptions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ public function apply(Request $r): void
430430
if (0 !== $this->WaitIndex) {
431431
$r->params->set('index', (string) $this->WaitIndex);
432432
}
433-
if (0 !== $this->WaitTime) {
433+
if (isset($this->WaitTime) && 0 < $this->WaitTime->Microseconds()) {
434434
$r->params->set('wait', dur_to_millisecond($this->WaitTime));
435435
}
436436
if ('' !== $this->WaitHash) {

tests/Definition/ACL/ACLEntryDefinitionTest.php

Lines changed: 0 additions & 36 deletions
This file was deleted.

tests/Definition/ACL/ACLReplicationStatusDefinitionTest.php

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)