Add basic nomad integration and runner provider

This commit is contained in:
Maximilian Paß
2021-05-04 13:04:37 +02:00
parent 40a22ecbb1
commit c092199693
24 changed files with 1141 additions and 34 deletions

14
e2e/health_test.go Normal file
View File

@@ -0,0 +1,14 @@
package e2e
import (
"github.com/stretchr/testify/assert"
"gitlab.hpi.de/codeocean/codemoon/poseidon/api"
"net/http"
"testing"
)
func TestHealthRoute(t *testing.T) {
resp, err := http.Get(buildURL(api.RouteHealth))
assert.NoError(t, err)
assert.Equal(t, http.StatusNoContent, resp.StatusCode, "The response code should be NoContent")
}