From e43c4605341fc2a3e1313c8c69f7be3a1f327cce Mon Sep 17 00:00:00 2001 From: Diptanu Choudhury Date: Wed, 22 Jun 2016 13:04:44 -0700 Subject: [PATCH] Fixed name of a test --- nomad/core_sched_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nomad/core_sched_test.go b/nomad/core_sched_test.go index 4693ae47f..e0e154c73 100644 --- a/nomad/core_sched_test.go +++ b/nomad/core_sched_test.go @@ -262,7 +262,7 @@ func TestCoreScheduler_EvalGC_Batch_Allocs_WithRunningJob(t *testing.T) { } } -func TestCoreScheduler_EvalGC_Batch_Allocs_WithJobInTerminalJob(t *testing.T) { +func TestCoreScheduler_EvalGC_Batch_Allocs_WithTerminalJob(t *testing.T) { s1 := testServer(t, nil) defer s1.Shutdown() testutil.WaitForLeader(t, s1.RPC) @@ -314,7 +314,7 @@ func TestCoreScheduler_EvalGC_Batch_Allocs_WithJobInTerminalJob(t *testing.T) { t.Fatalf("err: %v", err) } - // Shouldn't be gone because there are associated allocs. + // The job and it's associated alloc and eval should be gone out, err := state.EvalByID(eval.ID) if err != nil { t.Fatalf("err: %v", err)