Skip to content

Commit

Permalink
[#noissue] Fix missing mssql server configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
emeroad committed Jun 30, 2022
1 parent 42829b7 commit 516b4b5
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.navercorp.pinpoint.plugin.jdbc.jtds;

import com.navercorp.pinpoint.pluginit.jdbc.testcontainers.DatabaseContainers;
import com.navercorp.pinpoint.pluginit.utils.LogUtils;
import com.navercorp.pinpoint.test.plugin.shared.SharedTestLifeCycle;
import org.junit.Assume;
Expand Down Expand Up @@ -34,9 +35,7 @@ public void accept(OutputFrame outputFrame) {
});
mssqlserver.start();

Properties properties = new Properties();
properties.setProperty("JDBC_URL", mssqlserver.getJdbcUrl());
return properties;
return DatabaseContainers.toProperties(mssqlserver);
}

@Override
Expand Down

0 comments on commit 516b4b5

Please sign in to comment.