New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration tests are not stable #258
Comments
Yeah, it's already reported in #114 (comment) For your case, you can ignore this error for now, we will support special |
Thanks, got it. |
#270 will fix this. The reason for this bug is that the test data won't be cleaned before any run, while the table id is auto-incremented, so the created, dropped, created-again table may have different table ids every time run the tests. |
I think of one corner case even when #270 is merged
So an interceptor may also need to deal with this case. |
Actually, just update the result files if the test cases are modified. |
It may be a little annoying since those other files are not touched. Fow now I think it's OK to update those files manually since there are not many table ids in our testcases, but I prefer to keep the ability to replace something before diff. |
I guess #270 has fixed this, so let's close it. |
Describe this problem
For create table test,
https://github.com/CeresDB/ceresdb/blob/25557c73adaa6815875aaea3ccd5b61bf54e291f/tests/cases/local/05_ddl/create_tables.sql#L64
it will report error like:
The
table_id
in error message is not stable in my local pc, it will change if I run tests again.The issue maybe is in test config, we use
Local storage
as the server config for integration tests now.cc: @waynexia @jiacai2050
Steps to reproduce
Run tests again.
Expected behavior
The output should the same as before when we rerun tests.
Additional Information
No response
The text was updated successfully, but these errors were encountered: