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

Delayed Job Tests #493

Merged
merged 6 commits into from
Nov 7, 2018
Merged

Delayed Job Tests #493

merged 6 commits into from
Nov 7, 2018

Conversation

snmaynard
Copy link
Contributor

Add integration tests for the delayed job integration.

I've added a step to maze to be able to build the current gem and put that into the test docker container. At the moment that invalidates the build because I'm guessing the gem contains the build time - so we need to fix that.

Once we have the framework up and running adding the rests of the tests should be easy.

@Cawllec Cawllec changed the title [WIP] Delayed Job Tests Delayed Job Tests Nov 2, 2018
@Cawllec Cawllec requested a review from a team November 2, 2018 11:55
@Cawllec
Copy link
Contributor

Cawllec commented Nov 2, 2018

I've taken this up, fixed the existing Maze-tests and added a couple of features to the Delayed job tests. As these tests aren't currently running on CI, reviewers should manually run the delayed_job feature.

features/fixtures/delayed_job/Dockerfile Outdated Show resolved Hide resolved
Given I set environment variable "BUGSNAG_API_KEY" to "a35a2a72bd230ac0aa0f52715bbdc6aa"
And I set environment variable "MAZE_API_KEY" to "a35a2a72bd230ac0aa0f52715bbdc6aa"
And I configure the bugsnag endpoint
And I generate the gem and put it in "delayed_job"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ben has done this in env.rb and I think I prefer that approach. Perhaps we should look at doing the same here.

features/fixtures/delayed_job/app/app/models/test_model.rb Outdated Show resolved Hide resolved
features/fixtures/delayed_job/app/app/models/test_model.rb Outdated Show resolved Hide resolved
features/delayed_job.feature Outdated Show resolved Hide resolved
@Cawllec Cawllec merged commit da7da5c into master Nov 7, 2018
@Cawllec Cawllec deleted the delayed-job-maze branch November 7, 2018 10:46
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.

None yet

3 participants