From 215b16ada0208b67ae92e37f3a41e4e087da439b Mon Sep 17 00:00:00 2001 From: Bogdan Albei Date: Mon, 3 Jun 2019 14:11:14 +0100 Subject: [PATCH] fixed test #2057 --- nomad/structs/diff_test.go | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/nomad/structs/diff_test.go b/nomad/structs/diff_test.go index dbdd83c7fb6..7b22b1f4e41 100644 --- a/nomad/structs/diff_test.go +++ b/nomad/structs/diff_test.go @@ -3949,6 +3949,12 @@ func TestTaskDiff(t *testing.T) { Type: DiffTypeAdded, Name: "Service", Fields: []*FieldDiff{ + { + Type: DiffTypeAdded, + Name: "EnableTagOverride", + Old: "", + New: "false", + }, { Type: DiffTypeAdded, Name: "Name", @@ -3967,6 +3973,12 @@ func TestTaskDiff(t *testing.T) { Type: DiffTypeDeleted, Name: "Service", Fields: []*FieldDiff{ + { + Type: DiffTypeDeleted, + Name: "EnableTagOverride", + Old: "false", + New: "", + }, { Type: DiffTypeDeleted, Name: "Name", @@ -4016,6 +4028,12 @@ func TestTaskDiff(t *testing.T) { Name: "AddressMode", New: "driver", }, + { + Type: DiffTypeNone, + Name: "EnableTagOverride", + Old: "false", + New: "false", + }, { Type: DiffTypeNone, Name: "Name", @@ -4113,6 +4131,12 @@ func TestTaskDiff(t *testing.T) { Type: DiffTypeNone, Name: "AddressMode", }, + { + Type: DiffTypeNone, + Name: "EnableTagOverride", + Old: "false", + New: "false", + }, { Type: DiffTypeNone, Name: "Name", @@ -4447,6 +4471,12 @@ func TestTaskDiff(t *testing.T) { Old: "", New: "", }, + { + Type: DiffTypeNone, + Name: "EnableTagOverride", + Old: "false", + New: "false", + }, { Type: DiffTypeNone, Name: "Name",