fix tests after always restarting postgresql service
This commit is contained in:
parent
6235b2f414
commit
8d68b3b411
1 changed files with 8 additions and 0 deletions
|
@ -41,6 +41,7 @@ in
|
||||||
settings = commonSettings;
|
settings = commonSettings;
|
||||||
};
|
};
|
||||||
systemd.services.postgresql.postStart = "";
|
systemd.services.postgresql.postStart = "";
|
||||||
|
systemd.services.postgresql.serviceConfig.Restart = "always";
|
||||||
};
|
};
|
||||||
expr = testConfig {};
|
expr = testConfig {};
|
||||||
};
|
};
|
||||||
|
@ -54,6 +55,7 @@ in
|
||||||
settings = commonSettings;
|
settings = commonSettings;
|
||||||
};
|
};
|
||||||
systemd.services.postgresql.postStart = "";
|
systemd.services.postgresql.postStart = "";
|
||||||
|
systemd.services.postgresql.serviceConfig.Restart = "always";
|
||||||
};
|
};
|
||||||
expr = testConfig {
|
expr = testConfig {
|
||||||
services.postgresql.enable = true;
|
services.postgresql.enable = true;
|
||||||
|
@ -75,6 +77,7 @@ in
|
||||||
settings = commonSettings;
|
settings = commonSettings;
|
||||||
};
|
};
|
||||||
systemd.services.postgresql.postStart = "";
|
systemd.services.postgresql.postStart = "";
|
||||||
|
systemd.services.postgresql.serviceConfig.Restart = "always";
|
||||||
};
|
};
|
||||||
expr = testConfig {
|
expr = testConfig {
|
||||||
shb.postgresql.ensures = [
|
shb.postgresql.ensures = [
|
||||||
|
@ -110,6 +113,7 @@ in
|
||||||
END $$;
|
END $$;
|
||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
|
systemd.services.postgresql.serviceConfig.Restart = "always";
|
||||||
};
|
};
|
||||||
expr = testConfig {
|
expr = testConfig {
|
||||||
shb.postgresql.ensures = [
|
shb.postgresql.ensures = [
|
||||||
|
@ -146,6 +150,7 @@ in
|
||||||
settings = commonSettings;
|
settings = commonSettings;
|
||||||
};
|
};
|
||||||
systemd.services.postgresql.postStart = "";
|
systemd.services.postgresql.postStart = "";
|
||||||
|
systemd.services.postgresql.serviceConfig.Restart = "always";
|
||||||
};
|
};
|
||||||
expr = testConfig {
|
expr = testConfig {
|
||||||
shb.postgresql.ensures = [
|
shb.postgresql.ensures = [
|
||||||
|
@ -196,6 +201,7 @@ in
|
||||||
END $$;
|
END $$;
|
||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
|
systemd.services.postgresql.serviceConfig.Restart = "always";
|
||||||
};
|
};
|
||||||
expr = testConfig {
|
expr = testConfig {
|
||||||
shb.postgresql.ensures = [
|
shb.postgresql.ensures = [
|
||||||
|
@ -246,6 +252,7 @@ in
|
||||||
END $$;
|
END $$;
|
||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
|
systemd.services.postgresql.serviceConfig.Restart = "always";
|
||||||
};
|
};
|
||||||
expr = testConfig {
|
expr = testConfig {
|
||||||
shb.postgresql.ensures = [
|
shb.postgresql.ensures = [
|
||||||
|
@ -281,6 +288,7 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
systemd.services.postgresql.postStart = "";
|
systemd.services.postgresql.postStart = "";
|
||||||
|
systemd.services.postgresql.serviceConfig.Restart = "always";
|
||||||
};
|
};
|
||||||
expr = testConfig {
|
expr = testConfig {
|
||||||
shb.postgresql.enableTCPIP = true;
|
shb.postgresql.enableTCPIP = true;
|
||||||
|
|
Loading…
Reference in a new issue