Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e49a143ac758
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4aeafc6b63fb
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 5, 2019

  1. tests/pdns-recursor: use waitForOpenPort as port check

    This should be safer w.r.t. race conditions.
    Mic92 committed Apr 5, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    marsam Mario Rodas
    Copy the full SHA
    4aeafc6 View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 nixos/tests/pdns-recursor.nix
4 changes: 2 additions & 2 deletions nixos/tests/pdns-recursor.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ./make-test.nix ({ pkgs, lib, ... }: {
import ./make-test.nix ({ pkgs, ... }: {
name = "powerdns";

nodes.server = { ... }: {
@@ -7,6 +7,6 @@ import ./make-test.nix ({ pkgs, lib, ... }: {

testScript = ''
$server->waitForUnit("pdns-recursor");
$server->succeed("echo | ${lib.getBin pkgs.netcat}/bin/nc -v localhost 53")
$server->waitForOpenPort("53");
'';
})