Skip to content

Commit cfed997

Browse files
committed
Small fixes
1 parent d83cafa commit cfed997

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

src/MongoDB.Driver.Encryption/Library.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ public delegate bool
698698
public delegate void mongocrypt_ctx_destroy(IntPtr ptr);
699699
public delegate IntPtr mongocrypt_kms_ctx_get_kms_provider(IntPtr handle, out uint length);
700700

701-
//TODO Need to check where to put those
701+
//TODO Need to put these and the new methods in the right place
702702
public delegate long mongocrypt_kms_ctx_usleep(IntPtr handle);
703703

704704
[return: MarshalAs(UnmanagedType.I1)]

tests/MongoDB.Driver.Tests/Specifications/client-side-encryption/prose-tests/ClientEncryptionProseTests.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1555,21 +1555,6 @@ async Task ResetServer()
15551555
throw new Exception("Error while resetting!");
15561556
}
15571557
}
1558-
1559-
/**
1560-
* LIST todo
1561-
* - Need to finish the test
1562-
* - Need to make also a sync version of the tests (encryptAsync and CreateDataKeyAsync have some helper methods to do that)
1563-
*/
1564-
1565-
/* For some reason, if I use a single httpClient that I reuse, the tests take about 2 min 45 sec to run
1566-
* Some notes:
1567-
* - Adding or not the client certificate does not make a difference
1568-
* - When having the single client, it was a class variable initialized in the constructor and that
1569-
* I was disposing it in OnDispose
1570-
* - When modifying the code going from a single client to a client per method, then the first test method
1571-
* takes 15 seconds, the following ones less than 1 second.
1572-
*/
15731558
}
15741559

15751560
[Theory]

0 commit comments

Comments
 (0)