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

agent: Add basic integration test #42

Merged
merged 2 commits into from
Nov 13, 2023
Merged

Conversation

ueno
Copy link
Contributor

@ueno ueno commented Nov 13, 2023

This adds a test exercising the agent functionality. This works by
spawning the agent to monitor the test executable itself, where
crypto-auditing probes are defined.

Fixes: #30

This adds a probe point ("event_group") where the log is written to
the file.  The probe point can be used by the integration tests to
wait for the log file is synchronized.

Signed-off-by: Daiki Ueno <[email protected]>
@ueno ueno force-pushed the wip/integration-tests branch 7 times, most recently from e29a40d to 092b783 Compare November 13, 2023 07:07
This adds a test exercising the agent functionality.  This works by
spawning the agent to monitor the test executable itself, where
crypto-auditing probes are defined.

Signed-off-by: Daiki Ueno <[email protected]>
@ueno ueno marked this pull request as ready for review November 13, 2023 07:13
Copy link

@tomato42 tomato42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sanity-wise looks ok, but I'm far from a rust developer or familiar with the project :(

@ueno
Copy link
Contributor Author

ueno commented Nov 13, 2023

Thank you for the review!

@ueno ueno merged commit 348090f into latchset:main Nov 13, 2023
6 checks passed
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.

Add automated integration tests
2 participants