fix tests, update changelog

This commit is contained in:
Drew Bailey
2020-01-29 13:55:14 -05:00
parent fbd50806a1
commit 2dbcad3f45
4 changed files with 10 additions and 6 deletions

View File

@@ -407,7 +407,7 @@ func TestAgentCPUProfile(t *testing.T) {
}
resp, err := agent.CPUProfile(opts, q)
require.Error(t, err)
require.Contains(t, err.Error(), "500 (unknown nomad server unknown.global)")
require.Contains(t, err.Error(), "500 (unknown Nomad server unknown.global)")
require.Nil(t, resp)
}