Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bon000
Copy link
Contributor

@bon000 bon000 commented Nov 4, 2022

No description provided.

}
return NON_MOCK_CONSTRAINT + " " + securitySuffix;
}
return MOCK_CONSTRAINT;
Copy link
Contributor

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.
Copy link
Contributor

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")) {
Copy link
Contributor Author

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.

@shamsasari
Copy link
Contributor

I don't think this PR is needed anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants