fix(core): update

This commit is contained in:
2022-08-05 13:31:11 +02:00
parent d03f086c92
commit 7d867ea6ab
10 changed files with 85 additions and 88 deletions

View File

@ -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.`);