diqiu50 commented on code in PR #8419:
URL: https://github.com/apache/gravitino/pull/8419#discussion_r2328984399
##########
trino-connector/integration-test/src/test/java/org/apache/gravitino/trino/connector/integration/test/TrinoQueryITBase.java:
##########
@@ -103,7 +113,10 @@ public void setup() throws Exception {
setEnv();
trinoQueryRunner = new TrinoQueryRunner(trinoUri);
- createMetalake();
+
+ if (!autoStart) {
+ createMetalake();
+ }
Review Comment:
Currently, in each test suite we have a catalog_xxx_prepare.sql, which is
executed when testing the catalog. We can add a catalog_xxx_init.sh to be
executed before catalog_xxx_prepare.sql. Correspondingly, a catalog_xxx_stop.sh
can be executed after catalog_xxx_cleanup.sql. In this way, the environment and
the tests are separated.
--
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]