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

[Bug] - testdb.test.ts fails occasionally #86

Closed
1 task done
SpencerKaiser opened this issue Jan 23, 2020 · 1 comment
Closed
1 task done

[Bug] - testdb.test.ts fails occasionally #86

SpencerKaiser opened this issue Jan 23, 2020 · 1 comment
Labels
bug Something isn't working ci-cd Something related to the project's CI/CD solution help wanted Extra attention is needed needs investigation This issue requires further investigation

Comments

@SpencerKaiser
Copy link
Contributor

SpencerKaiser commented Jan 23, 2020

Pre-requisites:

Description

testdb.test.ts sporadically fails

Expected Behavior

testdb.test.ts should always pass

Actual Behavior

testdb.test.ts occasionally fails and requires that the tests be re-run.

Steps to Reproduce

Unknown

Other Information

Example failure, however, error shown in output (included below) is likely unrelated and just happened to print at the same time as the actual error. The issue likely stems from opening/closing several DBs while the test files are run in parallel. We may need to migrate the test DB to a singleton and simply drop data instead of closing the DB/dropping tables.

An API error occurred: invalid_auth
      at Object.platformErrorFromResult (node_modules/@slack/web-api/src/errors.ts:94:5)
      at WebClient.apiCall (node_modules/@slack/web-api/src/WebClient.ts:159:13)
@SpencerKaiser SpencerKaiser added bug Something isn't working needs investigation This issue requires further investigation ci-cd Something related to the project's CI/CD solution help wanted Extra attention is needed labels Jan 23, 2020
@SpencerKaiser
Copy link
Contributor Author

Closing; this was likely a result of the issue with the Slack SDK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ci-cd Something related to the project's CI/CD solution help wanted Extra attention is needed needs investigation This issue requires further investigation
Projects
None yet
Development

No branches or pull requests

1 participant