Skip to content

Commit 95e8fed

Browse files
committed
updates
1 parent 5637f56 commit 95e8fed

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

internal/integration/unified/client_entity.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ var (
4242

4343
awsAccessKeyID = os.Getenv("FLE_AWS_KEY")
4444
awsSecretAccessKey = os.Getenv("FLE_AWS_SECRET")
45+
azureTenantID = os.Getenv("FLE_AZURE_TENANTID")
46+
azureClientID = os.Getenv("FLE_AZURE_CLIENTID")
47+
azureClientSecret = os.Getenv("FLE_AZURE_CLIENTSECRET")
4548
)
4649

4750
// clientEntity is a wrapper for a mongo.Client object that also holds additional information required during test
@@ -292,6 +295,12 @@ func createAutoEncryptionOptions(opts bson.Raw) (*options.AutoEncryptionOptions,
292295
"accessKeyId": awsAccessKeyID,
293296
"secretAccessKey": awsSecretAccessKey,
294297
}
298+
case "azure":
299+
providers["azure"] = map[string]any{
300+
"tenantId": azureTenantID,
301+
"clientId": azureClientID,
302+
"clientSecret": azureClientSecret,
303+
}
295304
case "local":
296305
_, key := providerOpt.Document().Lookup("key").Binary()
297306
providers["local"] = map[string]any{

internal/integration/unified/operation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ func (op *operation) run(ctx context.Context, loopDone <-chan struct{}) (*operat
276276
return executeDecrypt(ctx, op)
277277

278278
// Unsupported operations
279-
case "count", "listIndexNames":
279+
case "count", "listIndexNames", "mapReduce":
280280
return nil, newSkipTestError(fmt.Sprintf("the %q operation is not supported", op.Name))
281281
default:
282282
return nil, fmt.Errorf("unrecognized entity operation %q", op.Name)

0 commit comments

Comments
 (0)