-
Notifications
You must be signed in to change notification settings - Fork 469
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
unreliable test: 'mkdir ... creates folder but uses the "fs" module if in C9' #4390
Labels
Comments
Looking |
nkomonen-amazon
added a commit
to nkomonen-amazon/aws-toolkit-vscode
that referenced
this issue
Feb 5, 2024
Reported by aws#4390, this test is failing on the mkdirSpy call count assertion. Not exactly sure why this is flaky, but maybe it is due to the previous folders not being cleaned up. This commit deletes the created folders after each test finishes. Additionally, this commit checks the actual spy call count so that we can better debug the issue Signed-off-by: nkomonen <[email protected]>
Merged
nkomonen-amazon
added a commit
to nkomonen-amazon/aws-toolkit-vscode
that referenced
this issue
Feb 5, 2024
Reported by aws#4390, this test is failing on the mkdirSpy call count assertion. Not exactly sure why this is flaky, but maybe it is due to the previous folders not being cleaned up. This commit deletes the created folders after each test finishes. Additionally, this commit checks the actual spy call count so that we can better debug the issue Signed-off-by: nkomonen <[email protected]>
nkomonen-amazon
added a commit
to nkomonen-amazon/aws-toolkit-vscode
that referenced
this issue
Feb 6, 2024
Reported by aws#4390, this test is failing on the mkdirSpy call count assertion. Not exactly sure why this is flaky, but maybe it is due to the previous folders not being cleaned up. This commit deletes the created folders after each test finishes. Additionally, this commit checks the actual spy call count so that we can better debug the issue Signed-off-by: nkomonen <[email protected]>
nkomonen-amazon
added a commit
to nkomonen-amazon/aws-toolkit-vscode
that referenced
this issue
Feb 6, 2024
Reported by aws#4390, this test is failing on the mkdirSpy call count assertion. Not exactly sure why this is flaky, but maybe it is due to the previous folders not being cleaned up. This commit deletes the created folders after each test finishes. Additionally, this commit checks the actual spy call count so that we can better debug the issue Signed-off-by: nkomonen <[email protected]>
nkomonen-amazon
added a commit
to nkomonen-amazon/aws-toolkit-vscode
that referenced
this issue
Feb 6, 2024
Reported by aws#4390, this test is failing on the mkdirSpy call count assertion. Not exactly sure why this is flaky, but maybe it is due to the previous folders not being cleaned up. This commit deletes the created folders after each test finishes. Additionally, this commit checks the actual spy call count so that we can better debug the issue Signed-off-by: nkomonen <[email protected]>
nkomonen-amazon
added a commit
that referenced
this issue
Feb 6, 2024
Reported by #4390, this test is failing on the mkdirSpy call count assertion. Not exactly sure why this is flaky, but maybe it is due to the previous folders not being cleaned up. ## Solution This commit deletes the created folders after each test finishes. Additionally, this commit checks the actual spy call count so that we can better debug the issue <!--- REMINDER: - Read CONTRIBUTING.md first. - Add test coverage for your changes. - Update the changelog using `npm run newChange`. - Link to related issues/commits. - Testing: how did you test your changes? - Screenshots --> ## License By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. Signed-off-by: nkomonen <[email protected]>
nkomonen-amazon
added a commit
to nkomonen-amazon/aws-toolkit-vscode
that referenced
this issue
Feb 13, 2024
Not sure if this fixes aws#4390, but we now reuse the same sandbox instead of recreating it each time. We were failing a test where a spied method was being called more than expected. Signed-off-by: nkomonen <[email protected]>
nkomonen-amazon
added a commit
to nkomonen-amazon/aws-toolkit-vscode
that referenced
this issue
Feb 13, 2024
Not sure if this fixes aws#4390, but we now reuse the same sandbox instead of recreating it each time. We were failing a test where a spied method was being called more than expected. Signed-off-by: nkomonen <[email protected]>
nkomonen-amazon
added a commit
that referenced
this issue
Feb 14, 2024
Not sure if this fixes #4390, but we now reuse the same sandbox instead of recreating it each time. We were failing a test where a spied method was being called more than expected. Signed-off-by: nkomonen <[email protected]>
Similar case is present on latest master:
|
Asserting |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
test failure sometimes occurs:
The text was updated successfully, but these errors were encountered: