Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
lijianan committed Nov 14, 2023
1 parent 9639cf8 commit b8b89ea
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions tests/stream/test_stream_smoke/0021_random_stream.json
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,28 @@
]
}
]
},
{
"id": 19,
"tags": ["create random", "unstable"],
"name": "set generate_eps, test eps",
"description": "set generate_eps, test eps",
"steps":[
{
"statements": [
{"client":"python", "query_type": "table", "wait":2, "query": "drop stream if exists test22_create_random"},
{"client":"python", "query_type": "table", "wait":2, "query": "create random stream test22_create_random(id int default rand()%4) engine Random() settings eps=1000"},
{"client":"python", "query_type": "table", "query_id":"2228", "wait":2, "query":"select count(1) from tumble(test22_create_random, 1s) group by window_start limit 5 settings generate_eps=10000"}
]
}
],
"expected_results": [
{
"query_id":"2228", "expected_results":[
["10000"], ["10000"], ["10000"], ["10000"], ["10000"]
]
}
]
}
]
}

0 comments on commit b8b89ea

Please sign in to comment.