Merge pull request #9870 from influxdata/js-fix-top-unit-test

Fix the new top/bottom unit tests
pull/9846/head
Jonathan A. Sternberg 2018-05-17 18:00:30 -05:00 committed by GitHub
commit de87298e38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -834,7 +834,7 @@ func TestSelect(t *testing.T) {
fields: map[string]influxql.DataType{
"p1": influxql.Float,
"p2": influxql.Float,
"p3": influxql.Float,
"p3": influxql.String,
},
itrs: []query.Iterator{
&FloatIterator{Points: []query.FloatPoint{
@ -855,7 +855,7 @@ func TestSelect(t *testing.T) {
fields: map[string]influxql.DataType{
"p1": influxql.Integer,
"p2": influxql.Integer,
"p3": influxql.Integer,
"p3": influxql.String,
},
itrs: []query.Iterator{
&IntegerIterator{Points: []query.IntegerPoint{
@ -876,7 +876,7 @@ func TestSelect(t *testing.T) {
fields: map[string]influxql.DataType{
"p1": influxql.Unsigned,
"p2": influxql.Unsigned,
"p3": influxql.Unsigned,
"p3": influxql.String,
},
itrs: []query.Iterator{
&UnsignedIterator{Points: []query.UnsignedPoint{
@ -1174,7 +1174,7 @@ func TestSelect(t *testing.T) {
fields: map[string]influxql.DataType{
"p1": influxql.Float,
"p2": influxql.Float,
"p3": influxql.Float,
"p3": influxql.String,
},
itrs: []query.Iterator{
&FloatIterator{Points: []query.FloatPoint{
@ -1195,7 +1195,7 @@ func TestSelect(t *testing.T) {
fields: map[string]influxql.DataType{
"p1": influxql.Integer,
"p2": influxql.Integer,
"p3": influxql.Integer,
"p3": influxql.String,
},
itrs: []query.Iterator{
&IntegerIterator{Points: []query.IntegerPoint{
@ -1216,7 +1216,7 @@ func TestSelect(t *testing.T) {
fields: map[string]influxql.DataType{
"p1": influxql.Unsigned,
"p2": influxql.Unsigned,
"p3": influxql.Unsigned,
"p3": influxql.String,
},
itrs: []query.Iterator{
&UnsignedIterator{Points: []query.UnsignedPoint{