Skip to content

Wrong timeout conversion in awaitCompletion #1637

Closed

Description

@hapeka72

Hi,

the conversion of the timeout in this line is wrong:

It should be like this:
long duration = TimeUnit.MILLISECONDS.convert(timeout, unit);

Activity

  1. rjrudin commented on Feb 14, 2024

    @rjrudin
    Contributor

    Thanks for the report @hapeka72 , we'll look into this today.

  2. rjrudin commented on Feb 14, 2024

    @rjrudin
    Contributor

    Confirming that your finding is correct. We'll have a fix for this in the next release with tests to ensure that awaitCompletion is honoring the user-defined timeout correctly.

  3. hapeka72 commented on Feb 15, 2024

    @hapeka72
    Author

    Perfect, thank you!

  4. added this to the 6.6.0 milestone on Apr 8, 2024
  5. rjrudin commented on Apr 24, 2024

    @rjrudin
    Contributor

    This will be in the 6.6.0 release this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions