-
Notifications
You must be signed in to change notification settings - Fork 426
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
Feature | Cleanup Always Encrypted with secure enclaves tests #1262
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ed by default (microsoft#1254) * skip AKV test properly * removed enclave properties string to failed errors as enclave tests could be skipped
This reverts commit e05c67e.
This reverts commit 62d2e64.
# Conflicts: # src/test/java/com/microsoft/sqlserver/jdbc/AlwaysEncrypted/AESetup.java # src/test/java/com/microsoft/sqlserver/jdbc/AlwaysEncrypted/EnclaveTest.java # src/test/java/com/microsoft/sqlserver/jdbc/AlwaysEncrypted/JDBCEncryptionDecryptionTest.java
Codecov Report
@@ Coverage Diff @@
## dev #1262 +/- ##
============================================
+ Coverage 52.95% 56.07% +3.12%
- Complexity 3492 3704 +212
============================================
Files 133 133
Lines 30096 30096
Branches 4979 4979
============================================
+ Hits 15936 16876 +940
+ Misses 11870 10840 -1030
- Partials 2290 2380 +90 Continue to review full report at Codecov.
|
ulvii
changed the title
Junit changes to run tests faster
Feature | Cleanup Always Encrypted with secure enclaves tests
Feb 14, 2020
ulvii
reviewed
Feb 15, 2020
src/test/java/com/microsoft/sqlserver/jdbc/AlwaysEncrypted/JDBCEncryptionDecryptionTest.java
Show resolved
Hide resolved
peterbae
reviewed
Mar 23, 2020
# Conflicts: # pom.xml # src/test/java/com/microsoft/sqlserver/jdbc/AlwaysEncrypted/AESetup.java # src/test/java/com/microsoft/sqlserver/jdbc/AlwaysEncrypted/CallableStatementTest.java # src/test/java/com/microsoft/sqlserver/jdbc/AlwaysEncrypted/EnclaveTest.java # src/test/java/com/microsoft/sqlserver/jdbc/AlwaysEncrypted/JDBCEncryptionDecryptionTest.java
peterbae
reviewed
Apr 10, 2020
src/test/java/com/microsoft/sqlserver/jdbc/AlwaysEncrypted/AESetup.java
Outdated
Show resolved
Hide resolved
peterbae
reviewed
Apr 10, 2020
src/test/java/com/microsoft/sqlserver/jdbc/AlwaysEncrypted/JDBCEncryptionDecryptionTest.java
Outdated
Show resolved
Hide resolved
src/test/java/com/microsoft/sqlserver/jdbc/AlwaysEncrypted/AESetup.java
Outdated
Show resolved
Hide resolved
src/test/java/com/microsoft/sqlserver/jdbc/AlwaysEncrypted/CallableStatementTest.java
Outdated
Show resolved
Hide resolved
src/test/java/com/microsoft/sqlserver/jdbc/AlwaysEncrypted/EnclaveTest.java
Outdated
Show resolved
Hide resolved
src/test/java/com/microsoft/sqlserver/jdbc/AlwaysEncrypted/EnclaveTest.java
Outdated
Show resolved
Hide resolved
ulvii
reviewed
Apr 13, 2020
src/test/java/com/microsoft/sqlserver/jdbc/AlwaysEncrypted/AESetup.java
Outdated
Show resolved
Hide resolved
ulvii
reviewed
Apr 13, 2020
src/test/java/com/microsoft/sqlserver/jdbc/AlwaysEncrypted/EnclaveTest.java
Show resolved
Hide resolved
ulvii
reviewed
Apr 13, 2020
src/test/java/com/microsoft/sqlserver/jdbc/AlwaysEncrypted/EnclaveTest.java
Show resolved
Hide resolved
peterbae
previously approved these changes
Apr 14, 2020
ulvii
reviewed
Apr 14, 2020
src/test/java/com/microsoft/sqlserver/jdbc/AlwaysEncrypted/EnclaveTest.java
Outdated
Show resolved
Hide resolved
ulvii
reviewed
Apr 14, 2020
src/test/java/com/microsoft/sqlserver/jdbc/AlwaysEncrypted/EnclaveTest.java
Outdated
Show resolved
Hide resolved
lilgreenbird
previously approved these changes
Apr 15, 2020
ulvii
approved these changes
Apr 15, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Driver changes:
Changed logic to write '0' instead of writing a byte array of '0' when attempting to pad BigIntegers that are not exactly 48 bytes in size.
Test Changes:
Removed duplicate tests from EnclaveTests that are covered in JDBCEncryptionDecryption.
Removed unnecessary server calls to check the state of AE.
Removed unnecessary setup calls in CallableStatement.
Added Enclave computation tests for:
Added a negative test which creates an encrypted table and attempts to perform AEv2 operations with a connection without AEv2 enabled.