-
Notifications
You must be signed in to change notification settings - Fork 201
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
feat(smoketests): run tests on readonly and isolated too COMPASS-8128 #6702
base: main
Are you sure you want to change the base?
Conversation
.evergreen/functions.yml
Outdated
@@ -678,8 +678,14 @@ functions: | |||
|
|||
if [[ "$IS_WINDOWS" == "true" ]]; then | |||
npm run --unsafe-perm --workspace @mongodb-js/compass-smoke-tests start -- --package=windows_setup --tests time-to-first-query | |||
npm run --unsafe-perm --workspace @mongodb-js/compass-smoke-tests start -- --package=windows_zip --tests auto-update-from | |||
npm run --unsafe-perm --workspace @mongodb-js/compass-smoke-tests start -- --package=windows_msi --tests auto-update-from | |||
if [[ "$HADRON_DISTRIBUTION" == "compass-isolated"]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Part of me wants to keep this functions.yml clean so it specifies the full set for the default compass distribution case and then rather just override the tests parameter inside the cli to exclude the variants that won't work with the distribution.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can easily clean this in the GHA:
- compass |
import { createSandbox } from '../directories'; | ||
import { getTestSubject } from '../test-subject'; | ||
|
||
export async function testReadOnly(context: SmokeTestsContext) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This whole file is basically a copy/paste of time-to-first-query.ts. We can probably refactor it.
No description provided.