at 25.11-pre 571 B view raw
1import ./make-test-python.nix ( 2 { pkgs, lib, ... }: 3 { 4 name = "openvscode-server"; 5 6 nodes = { 7 machine = 8 { pkgs, ... }: 9 { 10 services.openvscode-server = { 11 enable = true; 12 withoutConnectionToken = true; 13 }; 14 }; 15 }; 16 17 testScript = '' 18 start_all() 19 machine.wait_for_unit("openvscode-server.service") 20 machine.wait_for_open_port(3000) 21 machine.succeed("curl -k --fail http://localhost:3000", timeout=10) 22 ''; 23 24 meta.maintainers = [ lib.maintainers.drupol ]; 25 } 26)