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

adapt to latest ex-aws #25

Merged
merged 1 commit into from
Sep 1, 2021
Merged

adapt to latest ex-aws #25

merged 1 commit into from
Sep 1, 2021

Conversation

ruslandoga
Copy link
Contributor

closes #24

@kuiro5
Copy link
Collaborator

kuiro5 commented Aug 31, 2021

Thanks for the PR. Looks good, mind adding a quick test?

@@ -10,7 +10,7 @@ defmodule CloudWatchTest do
use ExUnit.Case, async: false

setup_all do
{:ok, _} = Cycler.start_link()
Copy link
Contributor Author

@ruslandoga ruslandoga Aug 31, 2021

Choose a reason for hiding this comment

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

I ran into a race condition when running tests locally where this match was failing here or in log_stream_name_test depending on which ran first since the tests don't wait for the cycler process to exit before running the next one.

@@ -10,7 +10,7 @@ defmodule CloudWatchTest do
use ExUnit.Case, async: false

setup_all do
{:ok, _} = Cycler.start_link()
start_supervised(Cycler)
Copy link
Contributor Author

@ruslandoga ruslandoga Aug 31, 2021

Choose a reason for hiding this comment

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

This is the fix for the above. It makes the test wait for the cycler to exit before running the next test.

@ruslandoga
Copy link
Contributor Author

@kuiro5 I've added a test.

@kuiro5 kuiro5 merged commit 714faf4 into heyoutline:master Sep 1, 2021
@ruslandoga ruslandoga deleted the adapt-to-ex-aws branch September 1, 2021 15:12
@ruslandoga
Copy link
Contributor Author

@kuiro5 hi, sorry to bother again. I wonder if it would be possible to cut a release for current master?

pmenhart added a commit to pmenhart/cloud_watch that referenced this pull request Sep 3, 2021
@kuiro5
Copy link
Collaborator

kuiro5 commented Sep 7, 2021

@ruslandoga @msmithstubbs v0.4.1 released, apologies on the delay.

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.

CaseClauseError for InvalidSequenceTokenException with ex_aws 2.2.4
2 participants