open-nomad/api/system_test.go
2016-02-20 15:50:41 -08:00

15 lines
213 B
Go

package api
import (
"testing"
)
func TestSystem_GarbageCollect(t *testing.T) {
c, s := makeClient(t, nil, nil)
defer s.Stop()
e := c.System()
if err := e.GarbageCollect(); err != nil {
t.Fatal(err)
}
}