Skip to content

[Issue 1282][test] use pulsar-client-go-test docker to test TestBlueGreenMigrationTestSuite case - #1287

Merged
nodece merged 1 commit into
apache:masterfrom
geniusjoe:dev/blue-green-docker-test
Oct 8, 2024
Merged

nodece merged 1 commit into
apache:masterfrom
geniusjoe:dev/blue-green-docker-test

Conversation

@geniusjoe

Copy link
Copy Markdown
Contributor

Contribution Checklist

Issue #1282

Motivation

Use pulsar-client-go-test docker to test TestBlueGreenMigrationTestSuite case, so that we can get rid of local environment go pkg dependencies.

Modifications

  1. Use integration-tests/extensible-load-manager/docker-compose.yml docker network in integration-tests/blue-green/docker-compose.yml green cluster, to make sure two clusters are in the same network environment.
  2. Use new unique service names in integration-tests/blue-green/docker-compose.yml green cluster to avoid service name duplication.
  3. Use service name instead of service forwarding port in pulsar/blue_green_migration_test.go.

Verifying this change

  • Make sure that the change passes the CI checks.

This change added tests and can be verified as follows:

  • Updated integration tests

Does this pull request potentially affect one of the following parts:

If yes was chosen, please highlight the changes

  • Dependencies (does it add or upgrade a dependency): (no)
  • The public API: (no)
  • The schema: (no)
  • The default values of configurations: (no)
  • The wire protocol: (no)

Documentation

  • Does this pull request introduce a new feature? (no)

@geniusjoe
geniusjoe marked this pull request as draft September 23, 2024 07:11
@geniusjoe
geniusjoe force-pushed the dev/blue-green-docker-test branch 2 times, most recently from 6a771f3 to 5b48fd3 Compare September 23, 2024 18:34
@geniusjoe
geniusjoe marked this pull request as ready for review September 24, 2024 03:42
@geniusjoe
geniusjoe force-pushed the dev/blue-green-docker-test branch 2 times, most recently from f0c4fc9 to 35d8a08 Compare September 24, 2024 04:11
@geniusjoe
geniusjoe force-pushed the dev/blue-green-docker-test branch from 35d8a08 to 852be7f Compare October 8, 2024 03:51
@geniusjoe

geniusjoe commented Oct 8, 2024 •

Copy link
Copy Markdown
Contributor Author

@nodece Thanks for reviewing this pr, could you help me to merge this pr as well? 😂

@nodece
nodece merged commit 551da2d into apache:master Oct 8, 2024
@nodece nodece added this to the v0.15.0 milestone Oct 8, 2024
@geniusjoe
geniusjoe deleted the dev/blue-green-docker-test branch October 8, 2024 09:39
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