wait longer until postgres starts on ci

This commit is contained in:
lovasoa
2024-05-04 14:45:32 +02:00
parent 5ba6b50782
commit 26aa58cae0
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ jobs:
- name: Set up cargo cache
uses: Swatinem/rust-cache@378c8285a4eaf12899d11bea686a763e906956af
- name: Start database container
run: docker-compose up -d ${{ matrix.database }}
run: docker compose up --wait ${{ matrix.database }}
- name: Run tests against ${{ matrix.database }}
run: cargo test
env:
+2 -2
View File
@@ -307,8 +307,8 @@ pub fn test_config() -> AppConfig {
serde_json::from_str::<AppConfig>(&format!(
r#"{{
"database_url": "{}",
"database_connection_retries": 2,
"database_connection_acquire_timeout_seconds": 10,
"database_connection_retries": 3,
"database_connection_acquire_timeout_seconds": 15,
"allow_exec": true,
"max_uploaded_file_size": 12345,
"listen_on": "111.111.111.111:1"