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

Some test fixes #5085

Merged
merged 3 commits into from
Sep 9, 2024
Merged

Conversation

johanbrandhorst
Copy link
Collaborator

@johanbrandhorst johanbrandhorst commented Sep 6, 2024

internal/session: update variable name in test

This was missed in #5071

internal/gen: regenerate files

internal/host/plugin: fix flaky test

Hosts contain IP addresses in string form, whose
order is not defined.

Hosts contain IP addresses in string form, whose
order is not defined.
@johanbrandhorst johanbrandhorst changed the title internal/session: update variable name in test Some test fixes Sep 7, 2024
@@ -95,7 +95,7 @@ func TestSessionConnectionCleanupJob(t *testing.T) {

// Create the job.
job, err := newSessionConnectionCleanupJob(ctx, rw, gracePeriod)
job.gracePeriod = gracePeriod // by-pass factory assert so we dont have to wait so long
job.workerStatusGracePeriod = gracePeriod // by-pass factory assert so we dont have to wait so long
Copy link
Member

Choose a reason for hiding this comment

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

This is also needed on the main branch

Copy link
Member

Choose a reason for hiding this comment

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

I would think the other change (not swagger) is as well. Maybe make this against main and then backport?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks like those changes are part of this PR to main: #5084.

@johanbrandhorst johanbrandhorst merged commit 5b1e22e into release/0.17.x Sep 9, 2024
56 checks passed
@johanbrandhorst johanbrandhorst deleted the jbrandhorst-test-fixes-0.17 branch September 9, 2024 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants