fix(core): update
This commit is contained in:
@ -18,15 +18,15 @@ tap.test('should start the clickhouse db', async () => {
|
||||
tap.test('should create a timedatatable', async (toolsArg) => {
|
||||
const table = await testClickhouseDb.getTable('analytics');
|
||||
let i = 0;
|
||||
while(i < 5000) {
|
||||
while (i < 5000) {
|
||||
await table.addData({
|
||||
timestamp: Date.now(),
|
||||
message: `hello this is a message ${i}`,
|
||||
wow: 'hey',
|
||||
deep: {
|
||||
so: 'hello',
|
||||
myArray: ['array1', 'array2']
|
||||
}
|
||||
myArray: ['array1', 'array2'],
|
||||
},
|
||||
});
|
||||
i++;
|
||||
console.log(`logged ${i} of 5000 lines.`);
|
||||
|
Reference in New Issue
Block a user