MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / connUrl

Method connUrl

test/lang/java/smoketest/SmokeTest.java:29–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 private Connection conn;
28
29 String connUrl() {
30 String host = System.getenv("PGHOST");
31 if (host == null)
32 host = "localhost";
33 String port = System.getenv("PGPORT");
34 if (port == null)
35 port = "6875";
36 return String.format("jdbc:postgresql://%s:%s/materialize", host, port);
37 }
38
39 @BeforeEach
40 void setUp() throws SQLException, java.lang.ClassNotFoundException {

Callers 2

setUpMethod · 0.95
testConnectionOptionsMethod · 0.95

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected