From a0878d5d216e87fff8165f43201da530917cdd88 Mon Sep 17 00:00:00 2001 From: Renan DelValle Date: Wed, 4 Nov 2020 10:15:17 -0800 Subject: [PATCH] Adds test for sample job with a dedicated attribute. --- internal/util_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/util_test.go b/internal/util_test.go index 7853ce9..366ffb0 100644 --- a/internal/util_test.go +++ b/internal/util_test.go @@ -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)