Skip to content

Commit

Permalink
Rearrange schema loader integration tests (scalar-labs#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
brfrn169 authored Apr 26, 2022
1 parent c5dec08 commit 49a26f6
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 30 deletions.
12 changes: 6 additions & 6 deletions schema-loader/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ sourceSets {
runtimeClasspath += main.output + test.output
srcDir file('src/integration-test/java')
include '**/com/scalar/db/schemaloader/*.java'
include '**/com/scalar/db/schemaloader/cassandra/*.java'
include '**/com/scalar/db/storage/cassandra/*.java'
}
resources.srcDir file('src/integration-test/resources')
}
Expand All @@ -32,7 +32,7 @@ sourceSets {
runtimeClasspath += main.output + test.output
srcDir file('src/integration-test/java')
include '**/com/scalar/db/schemaloader/*.java'
include '**/com/scalar/db/schemaloader/cosmos/*.java'
include '**/com/scalar/db/storage/cosmos/*.java'
}
resources.srcDir file('src/integration-test/resources')
}
Expand All @@ -42,7 +42,7 @@ sourceSets {
runtimeClasspath += main.output + test.output
srcDir file('src/integration-test/java')
include '**/com/scalar/db/schemaloader/*.java'
include '**/com/scalar/db/schemaloader/dynamo/*.java'
include '**/com/scalar/db/storage/dynamo/*.java'
}
resources.srcDir file('src/integration-test/resources')
}
Expand All @@ -52,7 +52,7 @@ sourceSets {
runtimeClasspath += main.output + test.output
srcDir file('src/integration-test/java')
include '**/com/scalar/db/schemaloader/*.java'
include '**/com/scalar/db/schemaloader/jdbc/*.java'
include '**/com/scalar/db/storage/jdbc/*.java'
}
resources.srcDir file('src/integration-test/resources')
}
Expand All @@ -62,7 +62,7 @@ sourceSets {
runtimeClasspath += main.output + test.output
srcDir file('src/integration-test/java')
include '**/com/scalar/db/schemaloader/*.java'
include '**/com/scalar/db/schemaloader/multistorage/*.java'
include '**/com/scalar/db/storage/multistorage/*.java'
}
resources.srcDir file('src/integration-test/resources')
}
Expand All @@ -72,7 +72,7 @@ sourceSets {
runtimeClasspath += main.output + test.output
srcDir file('src/integration-test/java')
include '**/com/scalar/db/schemaloader/*.java'
include '**/com/scalar/db/schemaloader/server/*.java'
include '**/com/scalar/db/server/*.java'
}
resources.srcDir file('src/integration-test/resources')
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
package com.scalar.db.schemaloader.server;
package com.scalar.db.server;

import com.scalar.db.config.DatabaseConfig;
import com.scalar.db.exception.storage.ExecutionException;
import com.scalar.db.schemaloader.SchemaLoaderIntegrationTestBase;
import com.scalar.db.server.ScalarDbServer;
import com.scalar.db.server.ServerConfig;
import com.scalar.db.server.ServerEnv;
import java.io.IOException;
import org.junit.jupiter.api.AfterAll;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
package com.scalar.db.schemaloader.cassandra;
package com.scalar.db.storage.cassandra;

import com.scalar.db.config.DatabaseConfig;
import com.scalar.db.schemaloader.SchemaLoaderIntegrationTestBase;
import com.scalar.db.storage.cassandra.CassandraEnv;

public class CassandraSchemaLoaderIntegrationTest extends SchemaLoaderIntegrationTestBase {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package com.scalar.db.schemaloader.cassandra;
package com.scalar.db.storage.cassandra;

import com.google.common.collect.ImmutableList;
import com.scalar.db.config.DatabaseConfig;
import com.scalar.db.schemaloader.SchemaLoaderIntegrationTestBase;
import com.scalar.db.storage.cassandra.CassandraEnv;
import java.io.File;
import java.io.IOException;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
package com.scalar.db.schemaloader.cosmos;
package com.scalar.db.storage.cosmos;

import com.scalar.db.config.DatabaseConfig;
import com.scalar.db.schemaloader.SchemaLoaderIntegrationTestBase;
import com.scalar.db.storage.cosmos.CosmosEnv;
import java.util.Optional;

public class CosmosSchemaLoaderIntegrationTest extends SchemaLoaderIntegrationTestBase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package com.scalar.db.schemaloader.cosmos;
package com.scalar.db.storage.cosmos;

import com.google.common.collect.ImmutableList;
import com.scalar.db.config.DatabaseConfig;
import com.scalar.db.schemaloader.SchemaLoaderIntegrationTestBase;
import com.scalar.db.storage.cosmos.CosmosEnv;
import java.io.File;
import java.io.IOException;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package com.scalar.db.schemaloader.dynamo;
package com.scalar.db.storage.dynamo;

import com.google.common.collect.ImmutableList;
import com.scalar.db.config.DatabaseConfig;
import com.scalar.db.schemaloader.SchemaLoaderIntegrationTestBase;
import com.scalar.db.storage.dynamo.DynamoEnv;
import java.util.List;

public class DynamoSchemaLoaderIntegrationTest extends SchemaLoaderIntegrationTestBase {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
package com.scalar.db.schemaloader.dynamo;
package com.scalar.db.storage.dynamo;

import com.google.common.collect.ImmutableList;
import com.scalar.db.config.DatabaseConfig;
import com.scalar.db.schemaloader.SchemaLoaderIntegrationTestBase;
import com.scalar.db.storage.dynamo.DynamoConfig;
import com.scalar.db.storage.dynamo.DynamoEnv;
import java.io.File;
import java.io.IOException;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
package com.scalar.db.schemaloader.jdbc;
package com.scalar.db.storage.jdbc;

import com.scalar.db.config.DatabaseConfig;
import com.scalar.db.schemaloader.SchemaLoaderIntegrationTestBase;
import com.scalar.db.storage.jdbc.JdbcEnv;

public class JdbcSchemaLoaderIntegrationTest extends SchemaLoaderIntegrationTestBase {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package com.scalar.db.schemaloader.jdbc;
package com.scalar.db.storage.jdbc;

import com.google.common.collect.ImmutableList;
import com.scalar.db.config.DatabaseConfig;
import com.scalar.db.schemaloader.SchemaLoaderIntegrationTestBase;
import com.scalar.db.storage.jdbc.JdbcEnv;
import java.io.File;
import java.io.IOException;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package com.scalar.db.schemaloader.multistorage;
package com.scalar.db.storage.multistorage;

import com.scalar.db.config.DatabaseConfig;
import com.scalar.db.schemaloader.SchemaLoaderIntegrationTestBase;
import com.scalar.db.storage.multistorage.MultiStorageConfig;
import com.scalar.db.storage.multistorage.MultiStorageEnv;
import com.scalar.db.transaction.consensuscommit.Coordinator;
import java.util.Properties;

Expand Down

0 comments on commit 49a26f6

Please sign in to comment.