Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable UI in functional test #69

Merged
merged 1 commit into from
Jun 21, 2024
Merged

Disable UI in functional test #69

merged 1 commit into from
Jun 21, 2024

Conversation

tomwheeler
Copy link
Collaborator

What was changed

I disabled the UI when starting the DevServer in the functional test.

Why?

When running the functional test through a GitHub action on Windows, I observed that the test failed due to an invalid (out of range) port number calculated for the UI server. That's a bug in the SDK (and I filed a report on it), but Chad states that enabling the UI should not be necessary in this test. Consequently, I have disabled it, which should ensure that the test runs reliably while the SDK bug remains.

I tested this by running the functional test manually multiple times after making the change. It passed each time (although I probably need to run it 65,535 times to feel really confident).

… test less reliable due to a bug in how the SDK calculated the port number to use (Go SDK Issue #1526)
Copy link
Collaborator

@robholland robholland left a comment

Choose a reason for hiding this comment

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

👍 I just enabled it to make debugging tests easier, forgot to turn it off again.

@tomwheeler tomwheeler merged commit dfeae51 into main Jun 21, 2024
4 checks passed
@tomwheeler
Copy link
Collaborator Author

It was a happy accident, since it led us to find a bug in the SDK

@tomwheeler tomwheeler deleted the remove-ui-from-test branch June 21, 2024 14:20
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