-
Notifications
You must be signed in to change notification settings - Fork 107
Refactoring in integration testing code #707
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
Conversation
Signed-off-by: Kesha Hietala <[email protected]>
Signed-off-by: Kesha Hietala <[email protected]>
Signed-off-by: Andrew Wells <[email protected]> Signed-off-by: Kesha Hietala <[email protected]>
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Kesha Hietala <[email protected]>
Signed-off-by: Yuan Lyu <[email protected]> Signed-off-by: Kesha Hietala <[email protected]>
Signed-off-by: Kesha Hietala <[email protected]>
Signed-off-by: Kesha Hietala <[email protected]>
Signed-off-by: Shaobo He <[email protected]> Signed-off-by: Kesha Hietala <[email protected]>
… CI (#692) Signed-off-by: Nick Szegheo <[email protected]> Signed-off-by: Kesha Hietala <[email protected]>
Signed-off-by: John Kastner <[email protected]> Signed-off-by: Kesha Hietala <[email protected]>
Signed-off-by: Shaobo He <[email protected]> Signed-off-by: Kesha Hietala <[email protected]>
Signed-off-by: John Kastner <[email protected]> Signed-off-by: Kesha Hietala <[email protected]>
Signed-off-by: Craig Disselkoen <[email protected]> Signed-off-by: Kesha Hietala <[email protected]>
Signed-off-by: Kesha Hietala <[email protected]>
Signed-off-by: Kesha Hietala <[email protected]>
Signed-off-by: Kesha Hietala <[email protected]>
9b0bc5a
to
a50e783
Compare
Signed-off-by: Kesha Hietala <[email protected]>
PR to fix CedarDRT build failure is in cedar-spec#250. The SemVer failure is expected since this PR requires a major version bump. |
|
||
/// Simple wrapper around u128 to remind ourselves that timing info is in microseconds. | ||
#[derive(Debug, Deserialize)] | ||
pub struct Micros(pub u128); |
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.
Would it make sense to just directly store the Duration
?
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 same type is used by the Lean FFI, so it makes it easier to just store the u128.
Signed-off-by: Kesha Hietala <[email protected]>
Signed-off-by: Kesha Hietala <[email protected]>
Description of changes
Some refactoring in preparation to move the integration tests to their own repository. This PR has the edits I wanted to make in #632, but closed to avoid potentially breaking users. As suggested by @andrewmwells-amazon, I left the current testing code in
cedar-policy
unchanged (marking it as "deprecated") and made a newcedar-testing
crate to use moving forward.The
cedar-testing
crate will be treated like our other internal crates (e.g.,cedar-policy-core
) in the sense that we may make changes without respecting semver.Issue #, if available
Checklist for requesting a review
The change in this PR is (choose one, and delete the other options):
cedar-policy
(e.g., addition of a new API).I confirm that this PR (choose one, and delete the other options):
I confirm that
cedar-spec
(choose one, and delete the other options):cedar-spec
, and how you have tested that your updates are correct.)Disclaimer
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.