forked from soundcloud/lhm
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make index tests more robust against non-deterministic results
The #select_value method returns a value of one randomly chosen column, which can sometimes be a NULL value even if the row itself exist.
- Loading branch information
Showing
2 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
#!/bin/sh | ||
|
||
for gemfile in gemfiles/*.gemfile; do | ||
BUNDLE_GEMFILE=$gemfile bundle install | ||
BUNDLE_GEMFILE=$gemfile bundle exec rake | ||
for gemfile in gemfiles/*.gemfile | ||
do | ||
if !(BUNDLE_GEMFILE=$gemfile bundle install && | ||
BUNDLE_GEMFILE=$gemfile bundle exec rake) | ||
then | ||
exit 1 | ||
fi | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters