Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,17 @@
import org.eclipse.daanse.sql.jdbc.api.DatabaseService;
import org.eclipse.daanse.sql.jdbc.impl.DatabaseServiceImpl;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.EnabledIfSystemProperty;
import org.testcontainers.containers.OracleContainer;
import org.testcontainers.junit.jupiter.Container;
import org.testcontainers.junit.jupiter.Testcontainers;

/**
* A measurement, not a check: how long {@code createMetaInfo} takes against the lightweight reads of a dialect's
* initialization on Oracle XE 21c. It starts a container of its own and only prints, so it runs on request alone,
* with {@code -Dlatency=true}, not with the build nor with the tests in Docker.
*/
@EnabledIfSystemProperty(named = "latency", matches = "true")
@Testcontainers
class OracleInitMetaInfoLatencyTest {

Expand Down
Loading