Skip to content

Commit

Permalink
fix IT
Browse files Browse the repository at this point in the history
  • Loading branch information
HTHou committed Sep 27, 2024
1 parent 8775671 commit 93489c8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions client/rpcdataset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func createIoTDBRpcDataSet() *IoTDBRpcDataSet {
"root.ln.device1.description_string",
"root.ln.device1.description_blob",
"root.ln.device1.date",
"root.ln.device1.timestamp",
"root.ln.device1.ts",
}
dataTypes := []string{"INT32", "DOUBLE", "INT64", "FLOAT", "TEXT", "BOOLEAN", "STRING", "BLOB", "DATE", "TIMESTAMP"}
columnNameIndex := map[string]int32{
Expand All @@ -52,7 +52,7 @@ func createIoTDBRpcDataSet() *IoTDBRpcDataSet {
"root.ln.device1.description_string": 6,
"root.ln.device1.description_blob": 7,
"root.ln.device1.date": 8,
"root.ln.device1.timestamp": 9,
"root.ln.device1.ts": 9,
}
var queyrId int64 = 1
var sessionId int64 = 1
Expand Down Expand Up @@ -603,7 +603,7 @@ func TestIoTDBRpcDataSet_getRowRecord(t *testing.T) {
dataType: DATE,
value: time.Date(2024, time.April, 1, 0, 0, 0, 0, time.UTC),
}, {
name: "root.ln.device1.timestamp",
name: "root.ln.device1.ts",
dataType: TIMESTAMP,
value: int64(3333333),
},
Expand Down
6 changes: 3 additions & 3 deletions client/tablet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func createTablet(size int) (*Tablet, error) {
DataType: DATE,
},
{
Measurement: "timestamp",
Measurement: "ts",
DataType: TIMESTAMP,
},
}, size)
Expand Down Expand Up @@ -113,7 +113,7 @@ func TestTablet_getDataTypes(t *testing.T) {
Measurement: "date",
DataType: DATE,
}, {
Measurement: "timestamp",
Measurement: "ts",
DataType: TIMESTAMP,
},
},
Expand Down Expand Up @@ -297,7 +297,7 @@ func TestTablet_SetValueAt(t *testing.T) {
},
wantErr: false,
}, {
name: "timestamp",
name: "ts",
args: args{
value: int64(1608268702780),
columnIndex: 9,
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func (s *e2eTestSuite) Test_InsertAlignedRecordsOfOneDevice() {
measurementsSlice = [][]string{
{"restart_count", "tick_count", "price"},
{"temperature", "description", "status"},
{"description_blob", "date", "timestamp"},
{"description_blob", "date", "ts"},
}
dataTypes = [][]client.TSDataType{
{client.INT32, client.INT64, client.DOUBLE},
Expand Down

0 comments on commit 93489c8

Please sign in to comment.