Add delay to yugabytedb piped command.

This commit is contained in:
Kavin 2022-06-02 13:09:54 +01:00
parent cfd4df723c
commit 58759a3944
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD
2 changed files with 3 additions and 2 deletions

View file

@ -9,7 +9,7 @@ on:
pull_request:
jobs:
build-hotspot-test:
build-test:
runs-on: ubuntu-latest
strategy:
matrix:
@ -34,7 +34,7 @@ jobs:
file: ${{ matrix.dockerfile }}
tags: 1337kavin/piped:latest
- name: Start Docker-Compose services
run: docker-compose -f ${{ matrix.docker-compose-file }} up -d && sleep 5
run: docker-compose -f ${{ matrix.docker-compose-file }} up -d && sleep 20
- name: Run tests
run: ./testing/api-test.sh
- name: Collect services logs

View file

@ -8,6 +8,7 @@ services:
- ./config.yugabytedb.properties:/app/config.properties
depends_on:
- yb-tserver
command: [ "sh", "-c", "sleep 10 && java -jar piped.jar" ]
yb-master:
image: yugabytedb/yugabyte:latest
command: