Skip to content

Commit

Permalink
Set postgres container version to 16 to ensure compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
perlpunk committed Sep 28, 2024
1 parent dad760b commit 497d94c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/containers/setup_env.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ use utils;
sub run {
assert_script_run('mkdir -p /root/data/factory/{iso,hdd,other} /root/data/tests');
assert_script_run('docker network create testing');
assert_script_run('retry -s 30 -- docker run --rm -d --network testing -e POSTGRES_PASSWORD=openqa -e POSTGRES_USER=openqa -e POSTGRES_DB=openqa --net-alias=db --name db postgres', timeout => 600);
# Temporary fix version https://progress.opensuse.org/issues/167524
assert_script_run('retry -s 30 -- docker run --rm -d --network testing -e POSTGRES_PASSWORD=openqa -e POSTGRES_USER=openqa -e POSTGRES_DB=openqa --net-alias=db --name db postgres:16', timeout => 600);
wait_for_container_log('db', 'database system is ready to accept connections', 'docker');
}

Expand Down

0 comments on commit 497d94c

Please sign in to comment.