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 small fixes in config and tests (4-3-stable) #284

Merged
merged 4 commits into from
Dec 10, 2024

Conversation

alanking
Copy link
Contributor

In service of #246 (only fixes test never finishing)
Addresses #178
Addresses #278

Still seeing occasional failure of the test as described in #246 but this at least makes it so that the test can fail after a while. Will continue to investigate that.

Tests passed.

Copy link
Collaborator

@korydraughn korydraughn left a comment

Choose a reason for hiding this comment

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

Looks good.

src/configuration.cpp Outdated Show resolved Hide resolved
src/configuration.cpp Outdated Show resolved Hide resolved
@alanking
Copy link
Contributor Author

Whoops - renamed the failure_function to timeout_function inconsistently. Running tests again after fixing that up, plus the review comments...

@korydraughn
Copy link
Collaborator

Awaiting test results.

@alanking
Copy link
Contributor Author

Tests passed after fixing all the silly mistakes. :)

@korydraughn
Copy link
Collaborator

Squash to taste.

@alanking
Copy link
Contributor Author

Squashed

Copy link
Collaborator

@korydraughn korydraughn left a comment

Choose a reason for hiding this comment

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

Pound it.

wait_for_empty_queue now allows the caller to specify a timeout
in seconds as well as a function to run when a timeout occurs.
If None is given for the function to run when a timeout occurs,
the function raises a TimeoutError Exception. Existing uses of
this function pass self.fail() to run on timeout with a brief
message explaining the failure.
@alanking
Copy link
Contributor Author

#'d. Mergin

@alanking alanking merged commit 77a493e into irods:4-3-stable Dec 10, 2024
1 check passed
@alanking alanking deleted the misc-fixes.43s branch December 10, 2024 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants