Skip to content

Commit 831700d

Browse files
kaisechengyaauie
authored andcommitted
fix jruby bundler for test (#1099)
* fix jruby bundler for test * Update .ci/logstash-run.sh Co-authored-by: Ry Biesemeyer <[email protected]> * Update .ci/logstash-run.sh Co-authored-by: Ry Biesemeyer <[email protected]> * Update .ci/logstash-run.sh Co-authored-by: Ry Biesemeyer <[email protected]>
1 parent 799a268 commit 831700d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci/logstash-run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ wait_for_es() {
2626
}
2727

2828
if [[ "$INTEGRATION" != "true" ]]; then
29-
jruby -rbundler/setup -S rspec -fd spec/unit -t ~integration -t ~secure_integration
29+
bundle exec rspec --format=documentation spec/unit --tag ~integration --tag ~secure_integration
3030
else
3131

3232
if [[ "$SECURE_INTEGRATION" == "true" ]]; then
@@ -38,5 +38,5 @@ else
3838
echo "Waiting for elasticsearch to respond..."
3939
ES_VERSION=$(wait_for_es)
4040
echo "Elasticsearch $ES_VERSION is Up!"
41-
jruby -rbundler/setup -S rspec -fd $extra_tag_args --tag update_tests:painless --tag es_version:$ES_VERSION spec/integration
41+
bundle exec rspec --format=documentation $extra_tag_args --tag update_tests:painless --tag es_version:$ES_VERSION spec/integration
4242
fi

0 commit comments

Comments
 (0)