Adds test for sample job with a dedicated attribute.

This commit is contained in:
Renan DelValle 2020-11-04 10:15:17 -08:00
parent 6ae06e5918
commit a0878d5d21
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9

View file

@ -25,6 +25,11 @@ func TestUnmarshalJob(t *testing.T) {
assert.NoError(t, err)
}
func TestUnmarshalDedicatedJob(t *testing.T) {
_, err := UnmarshalJob("../test/hello_world_dedicated.yaml")
assert.NoError(t, err)
}
func TestUnmarshalCron(t *testing.T) {
cron, err := UnmarshalJob("../test/hello_world_cron.yaml")
assert.NoError(t, err)