remove commented out code
This commit is contained in:
parent
96f171a5e3
commit
a0709dba1b
1 changed files with 0 additions and 45 deletions
|
@ -56,48 +56,3 @@ rec {
|
|||
};
|
||||
};
|
||||
}.tests
|
||||
|
||||
# let
|
||||
# utils = import ../../utils.nix {
|
||||
# inherit pkgs;
|
||||
# inherit (pkgs) stdenv lib;
|
||||
# };
|
||||
# keycloak = import ../../keycloak/unit.nix {
|
||||
# inherit pkgs utils;
|
||||
# inherit (pkgs) stdenv lib;
|
||||
# };
|
||||
# in
|
||||
# makeTest {
|
||||
# nodes = {
|
||||
# machine = {config, pkgs, ...}:
|
||||
# {
|
||||
# virtualisation.memorySize = 1024;
|
||||
# virtualisation.diskSize = 4096;
|
||||
|
||||
# environment.systemPackages = [ dysnomia pkgs.curl ];
|
||||
# };
|
||||
# };
|
||||
# testScript = ''
|
||||
# def check_keycloak_activated():
|
||||
# machine.succeed("sleep 5")
|
||||
# machine.succeed("curl --fail http://keycloak.test.tiserbox.com")
|
||||
|
||||
# def check_keycloak_deactivated():
|
||||
# machine.succeed("sleep 5")
|
||||
# machine.fail("curl --fail http://keycloak.test.tiserbox.com")
|
||||
|
||||
# start_all()
|
||||
|
||||
# # Test the keycloak module. Start keycloak and see if we can query the endpoint.
|
||||
# machine.succeed(
|
||||
# "dysnomia --type docker-container --operation activate --component ${keycloak} --environment"
|
||||
# )
|
||||
# check_keycloak_activated()
|
||||
|
||||
# # Deactivate keycloak. Check if it is not running anymore
|
||||
# machine.succeed(
|
||||
# "dysnomia --type docker-container --operation deactivate --component ${keycloak} --environment"
|
||||
# )
|
||||
# check_keycloak_deactivated()
|
||||
# '';
|
||||
# }
|
||||
|
|
Loading…
Reference in a new issue