Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@shreyas4510
Copy link
Contributor

Timeout values added for test cases from environment variables.

Fixes issue #100.

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Timeout values added for test cases from environment variables.

Fixes issue eicrud#100.
Copy link
Member

@acrosett acrosett Nov 11, 2024

Choose a reason for hiding this comment

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

TEST_TIMEOUT should be at least 6000, here, in action-test.yml and in the .env.sample

Copy link
Member

Choose a reason for hiding this comment

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

this seems to be in the wrong place, here it is attached to the mongo service

    Default timeout value updated.

    Fixes issue eicrud#100.
Copy link
Member

@acrosett acrosett left a comment

Choose a reason for hiding this comment

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

added a few more comments,

ideally we could make use of the setup.js mentioned in this issue so that we can set the default timeout for all tests and ditch the "testTimeout" in package.json. However we can already merge this if you want

Copy link
Member

Choose a reason for hiding this comment

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

this seems to be in the wrong place, here it is attached to the mongo service

Copy link
Member

Choose a reason for hiding this comment

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

same here

        env.ts added for better variables management.

        Fixes issue eicrud#100.
@acrosett acrosett merged commit cdd7d0e into eicrud:develop Nov 12, 2024
4 checks passed
@acrosett acrosett linked an issue Nov 12, 2024 that may be closed by this pull request
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.

Link the test timeouts to a .env var

2 participants