-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat(NODE-7046)!: remove AWS uri/options support #4689
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
base: main
Are you sure you want to change the base?
Changes from 11 commits
9a47fca
5c6d9de
28539cb
c6545f3
f68d8ef
813cac4
1c45bb2
e6c0bfd
cd6e6f7
b5aaf29
b842edc
4b8c7d4
22caa48
349827b
21ca884
53274dc
fe3959d
c963108
f393d5a
b8882c9
8af4446
c5a53b1
5caa5f5
3edd7f9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "drivers-evergreen-tools"] | ||
path = drivers-evergreen-tools | ||
url = https://github.com/mongodb-labs/drivers-evergreen-tools.git | ||
url = https://github.com/mongodb-labs/drivers-evergreen-tools.git |
+14 −5 | .evergreen/auth_aws/aws_tester.py | |
+22 −0 | .evergreen/tests/test-aws.sh |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,23 @@ | ||
import { loadSpecTests } from '../../spec'; | ||
import { executeUriValidationTest } from '../../tools/uri_spec_runner'; | ||
|
||
const SKIP = [ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't have a good file to comment on, but I was looking for changes to the prose tests, and noticed that our prose tests don't follow the convention - the relevant tests for this are in mongodb_aws.test.ts, where I think we can delete the Case 1 block. Can we move the prose tests from that file to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've moved these and updated the script to run both test files now. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see the new prose test file but it doesn't look like the update to mongodb_aws.test.ts was pushed There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh yeah I missed that. It's pushed now. |
||
'should throw an exception if username and no password (MONGODB-AWS)', | ||
dariakp marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
'should use username and password if specified (MONGODB-AWS)', | ||
'should use username, password and session token if specified (MONGODB-AWS)' | ||
]; | ||
|
||
describe('Auth option spec tests (legacy)', function () { | ||
const suites = loadSpecTests('auth', 'legacy'); | ||
|
||
for (const suite of suites) { | ||
describe(suite.name, function () { | ||
for (const test of suite.tests) { | ||
it(`${test.description}`, function () { | ||
if (SKIP.includes(test.description)) { | ||
this.test.skipReason = `NODE-7046: ${test.description}`; | ||
dariakp marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
this.test.skip(); | ||
} | ||
executeUriValidationTest(test); | ||
}); | ||
} | ||
|
Uh oh!
There was an error while loading. Please reload this page.