Skip to content

Commit 2216cce

Browse files
committed
fix: remove duplicate success log messages in testReplReplicationID function
1 parent d112328 commit 2216cce

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

internal/test_repl_id.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,12 @@ func testReplReplicationID(stageHarness *test_case_harness.TestCaseHarness) erro
5050

5151
if regexp.MustCompile("master_replid:([a-zA-Z0-9]+)").Match([]byte(responseValue.String())) {
5252
logger.Successf("Found master_replid:xxx in response.")
53-
logger.Successf("Found master_replid:xxx in response.")
5453
} else {
5554
patternMatchError = fmt.Errorf("Expected master_replid:xxx to be present in response. Got: %q", responseValue.String())
5655
}
5756

5857
if regexp.MustCompile("master_repl_offset:0").Match([]byte(responseValue.String())) {
5958
logger.Successf("Found master_reploffset:0 in response.")
60-
logger.Successf("Found master_reploffset:0 in response.")
6159
} else {
6260
patternMatchError = fmt.Errorf("Expected master_repl_offset:0 to be present in response. Got: %q", responseValue.String())
6361
}

0 commit comments

Comments
 (0)