Skip to content

Commit

Permalink
fixed test hashicorp#2057
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdanalbei committed Jun 4, 2019
1 parent 0666a4f commit 215b16a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions nomad/structs/diff_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -4447,6 +4471,12 @@ func TestTaskDiff(t *testing.T) {
Old: "",
New: "",
},
{
Type: DiffTypeNone,
Name: "EnableTagOverride",
Old: "false",
New: "false",
},
{
Type: DiffTypeNone,
Name: "Name",
Expand Down

0 comments on commit 215b16a

Please sign in to comment.