Skip to content

Conversation

@jcstorms1
Copy link
Contributor

@jcstorms1 jcstorms1 commented Nov 9, 2021

Originally the handler contained logs and metrics leading to a single binary, but we did not sort the log output of the integration test. This led to constant changes in the integration test output. Trying to use sort when normalizing the logs resulted in unordered log lines. I went back to a separated metric and log binary which is also in line with the other tests.

@jcstorms1 jcstorms1 requested a review from a team as a code owner November 9, 2021 19:24
@nhinsch
Copy link
Contributor

nhinsch commented Nov 9, 2021

Looks like the tests are failing in CI (could be related to this PR, might be a pre-existing issue). What is causing those failures and is it possible to fix them in this PR?

Copy link
Contributor

@nhinsch nhinsch left a comment

Choose a reason for hiding this comment

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

Per Slack message, I think this is now in a place where it's ready to be merged (we will then move the tests to the agent repo).


now=$(date +"%r")
echo "Sleeping $LOGS_WAIT_SECONDS seconds to wait for logs to appear in CloudWatch..."
echo "This should be done in 10 minutes from $now"
Copy link
Contributor

Choose a reason for hiding this comment

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

This message is a nice touch, I think it improves the user experience of running the tests.

@jcstorms1 jcstorms1 merged commit 989abfc into main Nov 23, 2021
@jcstorms1 jcstorms1 deleted the storms/fix-go-tests branch November 23, 2021 14:28
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.

3 participants