test(outputs.sql): print out what we get, bump time required (#12262)
This commit is contained in:
parent
75aaa8981e
commit
bd91b2ced2
|
|
@ -235,8 +235,9 @@ func TestMysqlIntegration(t *testing.T) {
|
||||||
bytes, err := io.ReadAll(out)
|
bytes, err := io.ReadAll(out)
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
|
fmt.Println(string(bytes))
|
||||||
return strings.Contains(string(bytes), string(expected))
|
return strings.Contains(string(bytes), string(expected))
|
||||||
}, 5*time.Second, 500*time.Millisecond)
|
}, 10*time.Second, 500*time.Millisecond, tc.expectedFile)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `metric_one` (
|
CREATE TABLE `metric_one` (
|
||||||
`timestamp` timestamp NOT NULL DEFAULT current_timestamp(),
|
`timestamp` timestamp NULL DEFAULT NULL,
|
||||||
`tag_one` text DEFAULT NULL,
|
`tag_one` text DEFAULT NULL,
|
||||||
`tag_two` text DEFAULT NULL,
|
`tag_two` text DEFAULT NULL,
|
||||||
`int64_one` int(11) DEFAULT NULL,
|
`int64_one` int(11) DEFAULT NULL,
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `metric three` (
|
CREATE TABLE `metric three` (
|
||||||
`timestamp` timestamp NOT NULL DEFAULT current_timestamp(),
|
`timestamp` timestamp NULL DEFAULT NULL,
|
||||||
`tag four` text DEFAULT NULL,
|
`tag four` text DEFAULT NULL,
|
||||||
`string two` text DEFAULT NULL
|
`string two` text DEFAULT NULL
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
CREATE TABLE `metric_two` (
|
CREATE TABLE `metric_two` (
|
||||||
`timestamp` timestamp NOT NULL DEFAULT current_timestamp(),
|
`timestamp` timestamp NULL DEFAULT NULL,
|
||||||
`tag_three` text DEFAULT NULL,
|
`tag_three` text DEFAULT NULL,
|
||||||
`string_one` text DEFAULT NULL
|
`string_one` text DEFAULT NULL
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue