Skip to content

Commit

Permalink
tests: fix grpc fields in task diff
Browse files Browse the repository at this point in the history
  • Loading branch information
schmichael committed May 4, 2018
1 parent 34fcb39 commit f3b985d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions nomad/structs/diff_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3557,6 +3557,12 @@ func TestTaskDiff(t *testing.T) {
Old: "",
New: "foo",
},
{
Type: DiffTypeAdded,
Name: "GRPCUseTLS",
Old: "",
New: "false",
},
{
Type: DiffTypeAdded,
Name: "Interval",
Expand Down Expand Up @@ -3611,6 +3617,12 @@ func TestTaskDiff(t *testing.T) {
Old: "foo",
New: "",
},
{
Type: DiffTypeDeleted,
Name: "GRPCUseTLS",
Old: "false",
New: "",
},
{
Type: DiffTypeDeleted,
Name: "Interval",
Expand Down Expand Up @@ -3767,6 +3779,18 @@ func TestTaskDiff(t *testing.T) {
Old: "foo",
New: "foo",
},
{
Type: DiffTypeNone,
Name: "GRPCService",
Old: "",
New: "",
},
{
Type: DiffTypeNone,
Name: "GRPCUseTLS",
Old: "false",
New: "false",
},
{
Type: DiffTypeEdited,
Name: "InitialStatus",
Expand Down

0 comments on commit f3b985d

Please sign in to comment.