zhaoyongjie commented on code in PR #19752:
URL: https://github.com/apache/superset/pull/19752#discussion_r852520935
##########
tests/integration_tests/datasets/commands_tests.py:
##########
@@ -250,6 +250,7 @@ def test_import_v0_dataset_cli_export(self):
}
command = v0.ImportDatasetsCommand(contents)
command.run()
+ db.session.commit()
Review Comment:
It's a flaky test here. The `after_insert` in the `SqlaTable` doesn't run
`commit` finally, so the Postgresql probably does not immediately preserve
shadow tables.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]