Cosmetic fixes to integration test JSON
parent
2a6689341a
commit
e404f0bf66
|
@ -286,19 +286,16 @@ func Test_ServerSingleIntegration(t *testing.T) {
|
||||||
createRetentionPolicy(t, testName, nodes, "foo", "bar")
|
createRetentionPolicy(t, testName, nodes, "foo", "bar")
|
||||||
write(t, testName, nodes, fmt.Sprintf(`
|
write(t, testName, nodes, fmt.Sprintf(`
|
||||||
{
|
{
|
||||||
"database":
|
"database": "foo",
|
||||||
"foo",
|
"retentionPolicy": "bar",
|
||||||
"retentionPolicy":
|
|
||||||
"bar",
|
|
||||||
"points":
|
"points":
|
||||||
[{
|
[{
|
||||||
"name":
|
"name": "cpu",
|
||||||
"cpu",
|
|
||||||
"tags": {
|
"tags": {
|
||||||
"host": "server01"
|
"host": "server01"
|
||||||
},
|
},
|
||||||
"timestamp": %d,
|
"timestamp": %d,
|
||||||
"precision":"n",
|
"precision": "n",
|
||||||
"values":{
|
"values":{
|
||||||
"value": 100
|
"value": 100
|
||||||
}
|
}
|
||||||
|
@ -335,19 +332,16 @@ func Test_Server3NodeIntegration(t *testing.T) {
|
||||||
createRetentionPolicy(t, testName, nodes, "foo", "bar")
|
createRetentionPolicy(t, testName, nodes, "foo", "bar")
|
||||||
write(t, testName, nodes, fmt.Sprintf(`
|
write(t, testName, nodes, fmt.Sprintf(`
|
||||||
{
|
{
|
||||||
"database":
|
"database": "foo",
|
||||||
"foo",
|
"retentionPolicy": "bar",
|
||||||
"retentionPolicy":
|
|
||||||
"bar",
|
|
||||||
"points":
|
"points":
|
||||||
[{
|
[{
|
||||||
"name":
|
"name": "cpu",
|
||||||
"cpu",
|
|
||||||
"tags": {
|
"tags": {
|
||||||
"host": "server01"
|
"host": "server01"
|
||||||
},
|
},
|
||||||
"timestamp": %d,
|
"timestamp": %d,
|
||||||
"precision":"n",
|
"precision": "n",
|
||||||
"values":{
|
"values":{
|
||||||
"value": 100
|
"value": 100
|
||||||
}
|
}
|
||||||
|
@ -384,19 +378,16 @@ func Test_Server5NodeIntegration(t *testing.T) {
|
||||||
createRetentionPolicy(t, testName, nodes, "foo", "bar")
|
createRetentionPolicy(t, testName, nodes, "foo", "bar")
|
||||||
write(t, testName, nodes, fmt.Sprintf(`
|
write(t, testName, nodes, fmt.Sprintf(`
|
||||||
{
|
{
|
||||||
"database":
|
"database": "foo",
|
||||||
"foo",
|
"retentionPolicy": "bar",
|
||||||
"retentionPolicy":
|
|
||||||
"bar",
|
|
||||||
"points":
|
"points":
|
||||||
[{
|
[{
|
||||||
"name":
|
"name": "cpu",
|
||||||
"cpu",
|
|
||||||
"tags": {
|
"tags": {
|
||||||
"host": "server01"
|
"host": "server01"
|
||||||
},
|
},
|
||||||
"timestamp": %d,
|
"timestamp": %d,
|
||||||
"precision":"n",
|
"precision": "n",
|
||||||
"values":{
|
"values":{
|
||||||
"value": 100
|
"value": 100
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue