mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
pgadmin: 8.1 -> 8.2
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
parent
e8ab82a53c
commit
1c1ca56266
5 changed files with 24 additions and 59 deletions
|
@ -55,6 +55,12 @@ import ./make-test-python.nix ({ pkgs, lib, ... }:
|
|||
machine.wait_until_succeeds("curl -sS localhost:5051/login | grep \"<title>pgAdmin 4</title>\" > /dev/null")
|
||||
# check for missing support files (css, js etc). Should catch not-generated files during build. See e.g. https://github.com/NixOS/nixpkgs/pull/229184
|
||||
machine.succeed("wget -nv --level=1 --spider --recursive localhost:5051/login")
|
||||
# test idempotenceny
|
||||
machine.systemctl("stop pgadmin.service")
|
||||
machine.systemctl("start pgadmin.service")
|
||||
machine.wait_for_unit("pgadmin")
|
||||
machine.wait_until_succeeds("curl -sS localhost:5051")
|
||||
machine.wait_until_succeeds("curl -sS localhost:5051/login | grep \"<title>pgAdmin 4</title>\" > /dev/null")
|
||||
|
||||
# pgadmin4 module saves the configuration to /etc/pgadmin/config_system.py
|
||||
# pgadmin4-desktopmode tries to read that as well. This normally fails with a PermissionError, as the config file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue