mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 01:45:44 +03:00
Use RC to see if cause of failure
This commit is contained in:
@@ -268,7 +268,7 @@ func TestJobGetter_LocalFile(t *testing.T) {
|
||||
}
|
||||
|
||||
// Test StructJob with jobfile from HTTP Server
|
||||
func TestAPIJob_HTTPServer(t *testing.T) {
|
||||
func TestJobGetter_HTTPServer(t *testing.T) {
|
||||
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
|
||||
fmt.Fprintf(w, job)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user