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
You may encounter this error if Rosetta isn't properly configured on your system.
140
+
```txt
141
+
OSError: [Errno 86] Bad CPU type in executable: '.../node-mongodb-native/drivers-evergreen-tools/mongodb/bin/mongod'
142
+
```
143
+
144
+
To fix it, simply run:
145
+
146
+
```sh
147
+
softwareupdate --install-rosetta
148
+
```
149
+
121
150
### Testing With Authorization-Enabled
122
151
123
152
By default, the integration tests run with auth-enabled and the mongo orchestration script will run with auth enabled when the `AUTH` variable is set to `auth`. Tests can be run locally without auth by setting the environment variable `AUTH` to the value of `noauth`. This must be a two-step process of starting a server without auth-enabled and then running the tests without auth-enabled.
@@ -505,7 +534,7 @@ The following steps will walk you through how to run the tests for CSFLE.
505
534
```bash
506
535
npm install mongodb-client-encryption
507
536
```
508
-
> [!NOTE]
537
+
> [!NOTE]
509
538
> If developing changes in `mongodb-client-encryption`, you can link it locally using `etc/tooling/fle.sh`.
> By default, `setup-fle.sh` installs crypt_shared. If you want to test with mongocryptd instead, set the RUN_WITH_MONGOCRYPTD environment variable before
521
-
> sourcing `setup-fle.sh`.
549
+
> By default, `setup-fle.sh` installs crypt_shared. If you want to test with mongocryptd instead, set the RUN_WITH_MONGOCRYPTD environment variable before
550
+
> sourcing `setup-fle.sh`.
522
551
523
552
3. Run the functional tests:
524
553
```bash
@@ -546,7 +575,7 @@ All of this is handled in the csfle/azurekms and csfle/gcpkms folders in drivers
546
575
547
576
#### Azure KMS
548
577
549
-
1. Provision an Azure server. You must set the `AZUREKMS_VMNAME_PREFIX` variable:
578
+
1. Provision an Azure server. You must set the `AZUREKMS_VMNAME_PREFIX` variable:
0 commit comments