Skip to content
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions runtime/admin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ dependencies {

testImplementation(project(":polaris-runtime-test-common"))
testFixturesApi(project(":polaris-core"))
testFixturesImplementation(project(":polaris-runtime-test-common"))

testFixturesApi(enforcedPlatform(libs.quarkus.bom))
testFixturesApi("io.quarkus:quarkus-junit")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
package org.apache.polaris.admintool.nosql;

import io.quarkus.test.junit.TestProfile;
import org.apache.polaris.admintool.AdminProfiles;
import org.apache.polaris.admintool.BootstrapCommandTestBase;

@TestProfile(NoSqlInMemoryProfile.class)
@TestProfile(AdminProfiles.NoSqlInMemory.class)
class NoSqlInMemoryBootstrapCommandTest extends BootstrapCommandTestBase {}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,9 @@
*/
package org.apache.polaris.admintool.nosql;

import com.google.common.collect.ImmutableMap;
import io.quarkus.test.junit.TestProfile;
import java.util.Map;
import org.apache.polaris.admintool.AdminProfiles;
import org.apache.polaris.admintool.PurgeCommandTestBase;

@TestProfile(NoSqlInMemoryPurgeCommandTest.Profile.class)
class NoSqlInMemoryPurgeCommandTest extends PurgeCommandTestBase {

public static class Profile extends NoSqlInMemoryProfile {
@Override
public Map<String, String> getConfigOverrides() {
return ImmutableMap.<String, String>builder()
.putAll(super.getConfigOverrides())
.put("pre-bootstrap", "true")
.build();
}
}
}
@TestProfile(AdminProfiles.PreBootstrappedNoSqlInMemory.class)
class NoSqlInMemoryPurgeCommandTest extends PurgeCommandTestBase {}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
package org.apache.polaris.admintool.nosql;

import io.quarkus.test.junit.TestProfile;
import org.apache.polaris.admintool.AdminProfiles;
import org.apache.polaris.admintool.BootstrapCommandTestBase;

@TestProfile(NoSqlMongoProfile.class)
@TestProfile(AdminProfiles.NoSqlMongo.class)
class NoSqlMongoBootstrapCommandTest extends BootstrapCommandTestBase {}
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@
import io.quarkus.test.junit.main.Launch;
import io.quarkus.test.junit.main.LaunchResult;
import io.quarkus.test.junit.main.QuarkusMainTest;
import org.apache.polaris.admintool.AdminProfiles;
import org.junit.jupiter.api.Test;

@TestProfile(NoSqlMongoProfile.class)
@TestProfile(AdminProfiles.NoSqlMongo.class)
@QuarkusMainTest
class NoSqlMongoMaintenanceCommandTest {
@Test
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,9 @@
*/
package org.apache.polaris.admintool.nosql;

import com.google.common.collect.ImmutableMap;
import io.quarkus.test.junit.TestProfile;
import java.util.Map;
import org.apache.polaris.admintool.AdminProfiles;
import org.apache.polaris.admintool.PurgeCommandTestBase;

@TestProfile(NoSqlMongoPurgeCommandTest.Profile.class)
class NoSqlMongoPurgeCommandTest extends PurgeCommandTestBase {

public static class Profile extends NoSqlMongoProfile {
@Override
public Map<String, String> getConfigOverrides() {
return ImmutableMap.<String, String>builder()
.putAll(super.getConfigOverrides())
.put("pre-bootstrap", "true")
.build();
}
}
}
@TestProfile(AdminProfiles.PreBootstrappedNoSqlMongo.class)
class NoSqlMongoPurgeCommandTest extends PurgeCommandTestBase {}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@
import io.quarkus.test.junit.TestProfile;
import io.quarkus.test.junit.main.LaunchResult;
import io.quarkus.test.junit.main.QuarkusMainLauncher;
import org.apache.polaris.admintool.AdminProfiles;
import org.junit.jupiter.api.Test;

@TestProfile(CockroachJdbcAdminProfile.class)
@TestProfile(AdminProfiles.CockroachJdbc.class)
public class CockroachJdbcBootstrapCommandTest extends RelationalJdbcBootstrapCommandTest {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,9 @@
*/
package org.apache.polaris.admintool.relational.jdbc;

import com.google.common.collect.ImmutableMap;
import io.quarkus.test.junit.TestProfile;
import java.util.Map;
import org.apache.polaris.admintool.AdminProfiles;
import org.apache.polaris.admintool.PurgeCommandTestBase;

@TestProfile(CockroachJdbcPurgeCommandTest.Profile.class)
public class CockroachJdbcPurgeCommandTest extends PurgeCommandTestBase {
public static class Profile extends CockroachJdbcAdminProfile {
@Override
public Map<String, String> getConfigOverrides() {
return ImmutableMap.<String, String>builder()
.putAll(super.getConfigOverrides())
.put("pre-bootstrap", "true")
.build();
}
}
}
@TestProfile(AdminProfiles.PreBootstrappedCockroachJdbc.class)
public class CockroachJdbcPurgeCommandTest extends PurgeCommandTestBase {}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@
import io.quarkus.test.junit.TestProfile;
import io.quarkus.test.junit.main.LaunchResult;
import io.quarkus.test.junit.main.QuarkusMainLauncher;
import org.apache.polaris.admintool.AdminProfiles;
import org.apache.polaris.admintool.BootstrapCommandTestBase;
import org.junit.jupiter.api.Test;

@TestProfile(RelationalJdbcAdminProfile.class)
@TestProfile(AdminProfiles.RelationalJdbc.class)
public class RelationalJdbcBootstrapCommandTest extends BootstrapCommandTestBase {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,9 @@
*/
package org.apache.polaris.admintool.relational.jdbc;

import com.google.common.collect.ImmutableMap;
import io.quarkus.test.junit.TestProfile;
import java.util.Map;
import org.apache.polaris.admintool.AdminProfiles;
import org.apache.polaris.admintool.PurgeCommandTestBase;

@TestProfile(RelationalJdbcPurgeCommandTest.Profile.class)
public class RelationalJdbcPurgeCommandTest extends PurgeCommandTestBase {
public static class Profile extends RelationalJdbcAdminProfile {
@Override
public Map<String, String> getConfigOverrides() {
return ImmutableMap.<String, String>builder()
.putAll(super.getConfigOverrides())
.put("pre-bootstrap", "true")
.build();
}
}
}
@TestProfile(AdminProfiles.PreBootstrappedRelationalJdbc.class)
public class RelationalJdbcPurgeCommandTest extends PurgeCommandTestBase {}
Loading