Skip to content

Commit

Permalink
Make sure to use specific version of multi_test gem
Browse files Browse the repository at this point in the history
The disable_autorun feature in multi_test gem was removed in the 1.0.0
release of the gem. This removal broke tests since our old version of
cucumber used that feature in one of its libs.

With this commit we install the latest version of the gem known to work 
and once we have installed cucumber we remove the new version of 
multi_test installed as a dependency. In the longer run we would want to
update cucumber to a later version so that we can remove this work around.

Signed-off-by: Daniel Nilsson <[email protected]>
  • Loading branch information
kdnilsson authored May 9, 2022
1 parent 27cae3a commit 493832e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions op5build/ci_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ post:
# Install requirements for cucumber test
gem install --no-ri --no-rdoc \
multi_test:0.1.2 \
cucumber:1.3.18 \
rspec:2.14.1 \
parallel:1.13.0 \
Expand All @@ -34,6 +35,12 @@ post:
sequel \
mysql2
# Uninstall unwanted dependency gems from cucumber installation.
# Todo: We should upgrade cucumber to version 3.2.0 so that we use the same
# version throughout our repos.
gem uninstall multi_test -v 1.0.0
# Run cucumber tests
ulimit -c unlimited
mkdir -p /mnt/logs
Expand Down

0 comments on commit 493832e

Please sign in to comment.