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

Support test configuration where DynamoDB was never started #8

Closed
wants to merge 2 commits into from

Conversation

provegard
Copy link

This deals with issue #3. If you have a test configuration that doesn't start DynamoDB, the plugin will exit hard (sys.exit(1)) when setting up test cleanup. Changed this so that the plugin handles non-running DynamoDB gracefully.

If DynamoDB isn't running, because it was never started, there won't be
any PID, and the test cleanup option should simply not do anything. Calling
sys.exit makes it impossible to run test configurations that don't start
DynamoDB.

Fixes grahamar#3
bdarfler pushed a commit to localytics/sbt-dynamodb that referenced this pull request Dec 23, 2015
@bdarfler
Copy link

Hi, looks like this repo has gone quiet. We've forked it to keep making improvements including merging this PR in. Check it out https://github.com/localytics/sbt-dynamodb/.

@provegard provegard closed this Mar 31, 2023
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