mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
introduce unstable smoke test suite (#20639)
* allow mark tests as unstable * fix * fix invert * stable and whole test suite * docs and mark test cases as unstable * a couple more unstable test cases
This commit is contained in:
@@ -14,6 +14,9 @@ yarn --cwd test/smoke
|
||||
# Prepare OSS in repo*
|
||||
node build/lib/preLaunch.js
|
||||
|
||||
# By default, only the stable test cases will be executed, to run all the test cases run the following script to set the 'RUN_UNSTABLE_TESTS' environment variable to true
|
||||
# export RUN_UNSTABLE_TESTS="true"
|
||||
|
||||
# Dev (Electron)
|
||||
yarn smoketest
|
||||
|
||||
@@ -72,6 +75,12 @@ cd test/smoke
|
||||
yarn watch
|
||||
```
|
||||
|
||||
### Mark test case as unstable
|
||||
|
||||
A test case should be marked as unstable if it is failing due to test reliability issue and a fix cannot be made immediately. Unstable test cases won't be picked up in the normal build pipelines, there is a dedicated build pipeline to run the unstable test cases.
|
||||
|
||||
To mark a test case as unstable, simply append the tag "@UNSTABLE@" to the title of the test case. Similarly, remove the tag if you want to mark it as stable.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Error: Could not get a unique tmp filename, max tries reached
|
||||
|
||||
Reference in New Issue
Block a user