Skip to content

Conversation

@demery-pivotal
Copy link
Contributor

Change ClusterCommunicationsDUnitTest.performARollingUpgrade() to
disable the HTTP service.

BACKGROUND

I am working on a project to allow Geode tests to run in parallel
outside of Docker. Running in parallel outside of Docker requires that
tests not start services using default ports.

This commit prepares for those changes.

PROBLEMS

When ClusterCommunicationsDUnitTest.performARollingUpgrade() upgrades
the locator, it starts the new locator with HTTP service enabled on the
default port (7070). If another test running in parallel also uses this
default port, at least one will throw an exception when it attempts to
bind.

THIS COMMIT

Change ClusterCommunicationsDUnitTest to start the upgraded locator
with HTTP service disabled. The test does not use the HTTP service.

Change `ClusterCommunicationsDUnitTest.performARollingUpgrade()` to
disable the HTTP service.

BACKGROUND

I am working on a project to allow Geode tests to run in parallel
outside of Docker. Running in parallel outside of Docker requires that
tests not start services using default ports.

This commit prepares for those changes.

PROBLEMS

When `ClusterCommunicationsDUnitTest.performARollingUpgrade()` upgrades
the locator, it starts the new locator with HTTP service enabled on the
default port (7070). If another test running in parallel also uses this
default port, at least one will throw an exception when it attempts to
bind.

THIS COMMIT

Change `ClusterCommunicationsDUnitTest` to start the upgraded locator
with HTTP service disabled. The test does not use the HTTP service.
@demery-pivotal demery-pivotal marked this pull request as ready for review June 8, 2021 18:19
@demery-pivotal demery-pivotal merged commit f0d918e into apache:develop Jun 10, 2021
@demery-pivotal demery-pivotal deleted the geode-8772/cluster-comms-rolling-upgrade branch June 10, 2021 17:45
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.

3 participants