Uh oh!
There was an error while loading. Please reload this page.
test: enable tests to run on kokoro - #134
Conversation
@larkee or @IlyaFaer I'm trying to get the tests running on Kokoro. But as you can see above, the run fails with errors like: But you can see in the logs that @larkee I don't have permission on that project to see the instances. Any help from either of you is appreciated. Then we can get rid of CircleCI which has been pretty flaky anyway. |
@skuruppu, oh, I think I see where's the problem. When we're running tests, we're actually creating a new instance and rewriting a config file, see: python-spanner-sqlalchemy/create_test_database.py Lines 75 to 79 in 1c3ff7d But this PR forces tests to be executed on |
skuruppu
commented
Oct 19, 2021
Ah thanks a lot @IlyaFaer. That explains it. So it was working fine for the migration tests which were reading |
skuruppu
commented
Oct 19, 2021
@skuruppu, that's quite strange. Some methods are using Taking a closer look |
Okay, I've investigated it further. Looks like we need some small changes to throw a warning instead of an exception, 'cause we can't omit those methods and we can't support I've also tried to set dialect requirements to say And some not very meaningful (but still |
There was a problem hiding this comment.
LGTM, we just need to wait for the other PR to be merged - it'll fix the failing tests
…erty (#628) See for more context: googleapis/python-spanner-sqlalchemy#134
IlyaFaer
commented
Oct 26, 2021
@skuruppu, looks like I can't restart Kokoro tests. Could you? |
skuruppu
commented
Oct 26, 2021
@IlyaFaer thanks a lot, the tests pass \o/ |
IlyaFaer
commented
Oct 27, 2021
@skuruppu, I guess now we need to make |
skuruppu
commented
Oct 27, 2021
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| "spanner:///projects/appdev-soda-spanner-staging/instances/" | ||
| "sqlalchemy-dialect-test/databases/compliance-test" | ||
| ) | ||
| self._engine = create_engine(get_db_url()) |
There was a problem hiding this comment.
An argument could be made to make a base test class that sets up the engine and metadata that these other test classes inherit but I don't think it's necessary for this PR
skuruppu
commented
Nov 2, 2021
IlyaFaer
commented
Nov 3, 2021
…erty (#628) See for more context: googleapis/python-spanner-sqlalchemy#134

No description provided.