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: pull_request:
jobs: jobs:
build-hotspot-test: build-test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
@ -34,7 +34,7 @@ jobs:
file: ${{ matrix.dockerfile }} file: ${{ matrix.dockerfile }}
tags: 1337kavin/piped:latest tags: 1337kavin/piped:latest
- name: Start Docker-Compose services - 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 - name: Run tests
run: ./testing/api-test.sh run: ./testing/api-test.sh
- name: Collect services logs - name: Collect services logs

View file

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