more tests
This commit is contained in:
parent
2e095270f5
commit
234f524a0e
7 changed files with 161 additions and 4 deletions
|
|
@ -24,7 +24,7 @@ func RunAsService(version string) {
|
|||
wg.Wait()
|
||||
}
|
||||
|
||||
func AgentSvc(version string) {
|
||||
func AgentSvc(version string) error {
|
||||
config := config.NewAgentConfig()
|
||||
go shared.GetPython(false)
|
||||
utils.CreateTRMMTempDir()
|
||||
|
|
@ -35,6 +35,7 @@ func AgentSvc(version string) {
|
|||
server := fmt.Sprintf("tls://%s:4222", config.APIURL)
|
||||
nc, err := nats.Connect(server, opts...)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
for _, s := range natsCheckin {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue