package state

/*
import (
	"fmt"
	"testing"
)

func TestServiceConsistent(t *testing.T) {
	state := stateSetup(simpleServiceMeta, simpleService, t)
	result := state.Consistent()
	if result.Consistent != false {
		fmt.Println("Detected running non-existant service: ", result.Metadata.Name)
	}
	fmt.Println(result.Consistent)
}
*/

/*  TODO: systemd query times out when service is not found
func TestServiceExecute(t *testing.T) {
	state := stateSetup(simpleServiceMeta, simpleService, t)
	result := state.Execute()
	if result.Consistent != false {
		fmt.Println("Started non-existant service: ", result.Metadata.Name)
	}
}
*/

package state

import (
	"fmt"
	"testing"
)

func TestServiceConsistent(t *testing.T) {
	state := stateSetup(simpleServiceMeta, simpleService, t)
	result := state.Consistent()
	if result.Consistent != false {
		fmt.Println("Detected running non-existant service: ", result.Metadata.Name)
	}
	fmt.Println(result.Consistent)
}

/*  TODO: systemd query times out when service is not found
func TestServiceExecute(t *testing.T) {
	state := stateSetup(simpleServiceMeta, simpleService, t)
	result := state.Execute()
	if result.Consistent != false {
		fmt.Println("Started non-existant service: ", result.Metadata.Name)
	}
}
*/

--- 
+++ 
@@ -1,5 +1,6 @@
 package state
 
+/*
 import (
 	"fmt"
 	"testing"
@@ -13,6 +14,7 @@
 	}
 	fmt.Println(result.Consistent)
 }
+*/
 
 /*  TODO: systemd query times out when service is not found
 func TestServiceExecute(t *testing.T) {
Comment all Service tests out, not sure how to test with Travis and no init systme
