Skip to content

Conversation

@carole-lavillonniere
Copy link
Collaborator

Read LOCALSTACK_AUTH_TOKEN from env vars and pass value to localstack-pro container.

We now have 3 test cases:

  • Test: TestStartCommandSucceedsWithValidToken
    Condition: Valid token
    Expected: Container running

  • Test: TestStartCommandFailsWithoutToken
    Condition: No token
    Expected: error "LOCALSTACK_AUTH_TOKEN is not set"

  • Test: TestStartCommandFailsWithInvalidToken
    Condition: Invalid token
    Expected: error"License activation failed"

Testing

LOCALSTACK_AUTH_TOKEN=ls-xxx make test-integration
or
cp env.example .env, set token and make test-integration

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