Skip to content

Commit

Permalink
Actually enable desktop this time
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaMahany committed Jan 24, 2024
1 parent 25e3e38 commit 91438aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/k2server.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def subsystems():
def get_subsystem(hash):
if hash != agent_flags_hash:
return '', 404
return jsonify({"desktop_enabled": "1"})
return jsonify({"desktop_enabled_v1": "enabled"})

# Version endpoint
@application.route("/version", methods=['GET'])
Expand Down
2 changes: 1 addition & 1 deletion tests/kolide-launcher.nix
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ pkgs.nixosTest {
with subtest("launcher service runs and is set up correctly"):
machine.systemctl("stop kolide-launcher.service")
machine.systemctl("start kolide-launcher.service")
machine.wait_for_unit("kolide-launcher.service", timeout=120)
machine.wait_for_unit("kolide-launcher.service", timeout=60)
machine.wait_for_file("/var/kolide-k2/k2device.kolide.com/debug.json")
machine.sleep(60)
machine.screenshot("test-screen2.png")
Expand Down

0 comments on commit 91438aa

Please sign in to comment.