You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -355,16 +355,8 @@ export class MongoStalePrimaryError extends MongoRuntimeError {
355
355
*
356
356
* @public
357
357
**/
358
-
constructor(
359
-
serverDescription: ServerDescription,
360
-
maxSetVersion: number|null,
361
-
maxElectionId: ObjectId|null,
362
-
options?: {cause?: Error}
363
-
){
364
-
super(
365
-
`primary marked stale due to electionId/setVersion mismatch: server setVersion: ${serverDescription.setVersion}, server electionId: ${serverDescription.electionId}, topology setVersion: ${maxSetVersion}, topology electionId: ${maxElectionId}`,
-[TODO Special Env Sections](#todo-special-env-sections)
43
44
-[Testing driver changes with mongosh](#testing-driver-changes-with-mongosh)
44
45
-[Point mongosh to the driver](#point-mongosh-to-the-driver)
@@ -617,11 +618,38 @@ TODO(NODE-6698): Update deployed lambda test section.
617
618
618
619
### Kerberos Tests
619
620
621
+
You must be in an office or connected to the VPN to run these tests.
622
+
620
623
Run `.evergreen/run-kerberos-tests.sh`.
621
624
625
+
### AWS Authentication tests
626
+
627
+
> [!NOTE]
628
+
> AWS ECS tests have a different set up process. Don't even bother running these locally, just pray to the CI gods that things work and you never have to touch these tests.
629
+
630
+
AWS tests require a cluster configured with MONGODB_AWS auth enabled. This is easy to set up using drivers-evergreen-tools
631
+
by specifying the `aws-auth.json` orchestration file (this is what CI does).
632
+
633
+
1. Set up your cluster and export the URI of your cluster as MONGODB_URI.
634
+
2. Choose your configuration and set the relevant environment variables.
635
+
636
+
Do you want the AWS SDK to be installed while running auth? If not, set MONGODB_AWS_SDK to false.
637
+
638
+
Choose your AWS authentication credential type and export the `AWS_CREDENTIAL_TYPE`type with the chosen value:
0 commit comments