Skip to content

Commit

Permalink
Fix presto unit testing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
“v_kkhuang” committed Sep 25, 2024
1 parent 4cc194a commit d5a6040
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ public class TestPrestoEngineConnFactory {

@Test
public void testNewExecutor() {
System.setProperty("wds.linkis.server.version", "v1");
System.setProperty(
"wds.linkis.engineconn.plugin.default.class",
"org.apache.linkis.engineplugin.presto.PrestoEngineConnPlugin");
System.setProperty("prestoVersion", "presto");
PrestoEngineConnFactory engineConnFactory = new PrestoEngineConnFactory();
EngineCreationContext engineCreationContext = new DefaultEngineCreationContext();
Expand Down

0 comments on commit d5a6040

Please sign in to comment.