-
Notifications
You must be signed in to change notification settings - Fork 12
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
CON-1187: Fix QA tests, fix enclave constraint in release mode for CordApp test #50
base: master
Are you sure you want to change the base?
Conversation
} | ||
return NON_MOCK_CONSTRAINT + " " + securitySuffix; | ||
} | ||
return MOCK_CONSTRAINT; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add this in an else
@@ -23,8 +23,8 @@ class ReverseStringEnclaveTest { | |||
// when unit testing and developing. | |||
// | |||
// Obviously in a real app you'd not use SEC:INSECURE, however this makes the sample work in simulation mode. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment is now out of date
return mock_constraint; | ||
String mode = System.getProperty("enclaveMode").toLowerCase(); | ||
|
||
if (mode == null || !mode.toLowerCase().equals("mock")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is also buggy. Will fix on Monday. But I can't get an environment setup for this test in 1.8, this is a real concern.
I don't think this PR is needed anymore. |
No description provided.