Skip to content

Commit

Permalink
Fix TimescaleDB serialization tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RobAtticus committed Aug 3, 2018
1 parent 90fa213 commit 485b25d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/tsbs_generate_data/serialize/timescaledb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ func TestTimescaleDBSerializerSerialize(t *testing.T) {
{
desc: "a regular Point",
inputPoint: testPointDefault,
output: "tags,host_0,eu-west-1,eu-west-1b\ncpu,1451606400000000000,38.24311829\n",
output: "tags,hostname=host_0,region=eu-west-1,datacenter=eu-west-1b\ncpu,1451606400000000000,38.24311829\n",
},
{
desc: "a regular Point using int as value",
inputPoint: testPointInt,
output: "tags,host_0,eu-west-1,eu-west-1b\ncpu,1451606400000000000,38\n",
output: "tags,hostname=host_0,region=eu-west-1,datacenter=eu-west-1b\ncpu,1451606400000000000,38\n",
},
{
desc: "a regular Point with multiple fields",
inputPoint: testPointMultiField,
output: "tags,host_0,eu-west-1,eu-west-1b\ncpu,1451606400000000000,5000000000,38,38.24311829\n",
output: "tags,hostname=host_0,region=eu-west-1,datacenter=eu-west-1b\ncpu,1451606400000000000,5000000000,38,38.24311829\n",
},
{
desc: "a Point with no tags",
Expand Down

0 comments on commit 485b25d

Please sign in to comment.