21 lines
		
	
	
		
			333 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			333 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
import ./make-test.nix {
 | 
						|
  name = "neo4j";
 | 
						|
 | 
						|
  nodes = {
 | 
						|
    master =
 | 
						|
      { ... }:
 | 
						|
 | 
						|
      {
 | 
						|
        services.neo4j.enable = true;
 | 
						|
      };
 | 
						|
  };
 | 
						|
 | 
						|
  testScript = ''
 | 
						|
    startAll;
 | 
						|
 | 
						|
    $master->waitForUnit("neo4j");
 | 
						|
    $master->sleep(20); # Hopefully this is long enough!!
 | 
						|
    $master->succeed("curl http://localhost:7474/");
 | 
						|
  '';
 | 
						|
}
 |