Skip to content

Commit

Permalink
Improve PostgreSQL tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Oct 29, 2023
1 parent 3fc57f4 commit 5dfdbbf
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion tests/postgresql/postgresql10.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -193,4 +193,5 @@ command "service {service_name} initdb" "Database initialization"
!wait-service {service_name}

command:teardown "-" "Data cleanup"
cleanup {data_dir}
cleanup {data_dir}/data
cleanup {data_dir}/backups
3 changes: 2 additions & 1 deletion tests/postgresql/postgresql11.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,5 @@ command "service {service_name} initdb" "Database initialization"
!wait-service {service_name}

command:teardown "-" "Data cleanup"
cleanup {data_dir}
cleanup {data_dir}/data
cleanup {data_dir}/backups
3 changes: 2 additions & 1 deletion tests/postgresql/postgresql12.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,5 @@ command "service {service_name} initdb" "Database initialization"
!wait-service {service_name}

command:teardown "-" "Data cleanup"
cleanup {data_dir}
cleanup {data_dir}/data
cleanup {data_dir}/backups
3 changes: 2 additions & 1 deletion tests/postgresql/postgresql13.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,5 @@ command "service {service_name} initdb" "Database initialization"
!wait-service {service_name}

command:teardown "-" "Data cleanup"
cleanup {data_dir}
cleanup {data_dir}/data
cleanup {data_dir}/backups
3 changes: 2 additions & 1 deletion tests/postgresql/postgresql14.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,5 @@ command "service {service_name} initdb" "Database initialization"
!wait-service {service_name}

command:teardown "-" "Data cleanup"
cleanup {data_dir}
cleanup {data_dir}/data
cleanup {data_dir}/backups
3 changes: 2 additions & 1 deletion tests/postgresql/postgresql15.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,5 @@ command "service {service_name} initdb" "Database initialization"
!wait-service {service_name}

command:teardown "-" "Data cleanup"
cleanup {data_dir}
cleanup {data_dir}/data
cleanup {data_dir}/backups
3 changes: 2 additions & 1 deletion tests/postgresql/postgresql16.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,5 @@ command "service {service_name} initdb" "Database initialization"
!wait-service {service_name}

command:teardown "-" "Data cleanup"
cleanup {data_dir}
cleanup {data_dir}/data
cleanup {data_dir}/backups

0 comments on commit 5dfdbbf

Please sign in to comment.