Skip to content

fix(tests): update peer config to avoid using stale config from previous local run#4552

Merged
dtunikov merged 1 commit into
mainfrom
fix/update-source-peer-config-on-restarts
Jul 9, 2026
Merged

fix(tests): update peer config to avoid using stale config from previous local run#4552
dtunikov merged 1 commit into
mainfrom
fix/update-source-peer-config-on-restarts

Conversation

@dtunikov

@dtunikov dtunikov commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@dtunikov dtunikov requested a review from a team as a code owner July 8, 2026 16:10
@dtunikov dtunikov changed the title update peer config to avoid using stale config from previous local run fix(tests): update peer config to avoid using stale config from previous local run Jul 8, 2026
Comment thread flow/e2e/congen.go
pool, err := catalogTestAccessPool()
require.NoError(t, err)
res, err := utils.CreatePeerNoValidate(t.Context(), shared.CatalogPool{Pool: pool}, peer, false)
res, err := utils.CreatePeerNoValidate(t.Context(), shared.CatalogPool{Pool: pool}, peer, true)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

otherwise local debug gets confusing
if you run with mysql-gtid and later with mysql-pos
mysql-pos would use the old config and try to reach port 3306 even if mysql_port env is set to 3307..
got this problem a few times when was working on mysql connector recently

@claude

claude Bot commented Jul 8, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@dtunikov dtunikov enabled auto-merge (squash) July 8, 2026 16:27

@ilidemi ilidemi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Awesome

@dtunikov dtunikov merged commit 750c263 into main Jul 9, 2026
20 checks passed
@dtunikov dtunikov deleted the fix/update-source-peer-config-on-restarts branch July 9, 2026 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants