Skip to content

Commit 88af2ef

Browse files
committed
Fix tests
1 parent ce68ac6 commit 88af2ef

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

core/src/integration-test/java/com/scalar/db/storage/jdbc/JdbcAdminImportTableIntegrationTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ public void importTable_ForUnsupportedDatabase_ShouldThrowUnsupportedOperationEx
121121
alterColumnType_SqlServer_AlterColumnTypeFromEachExistingDataTypeToText_ForImportedTable_ShouldAlterColumnTypesCorrectly()
122122
throws Exception {
123123
// Arrange
124+
admin.createNamespace(getNamespace(), getCreationOptions());
124125
testDataList.addAll(createExistingDatabaseWithAllDataTypes());
125126
for (TestData testData : testDataList) {
126127
if (testData.isImportableTable()) {
@@ -169,6 +170,7 @@ public void importTable_ForUnsupportedDatabase_ShouldThrowUnsupportedOperationEx
169170
alterColumnType_Db2_AlterColumnTypeFromEachExistingDataTypeToText_ForImportedTable_ShouldAlterColumnTypesCorrectly()
170171
throws Exception {
171172
// Arrange
173+
admin.createNamespace(getNamespace(), getCreationOptions());
172174
testDataList.addAll(createExistingDatabaseWithAllDataTypes());
173175
for (TestData testData : testDataList) {
174176
if (testData.isImportableTable()) {
@@ -224,6 +226,7 @@ public void alterColumnType_WideningConversion_ForImportedTable_ShouldAlterPrope
224226
public void alterColumnType_Oracle_WideningConversion_ForImportedTable_ShouldAlterProperly()
225227
throws Exception {
226228
// Arrange
229+
admin.createNamespace(getNamespace(), getCreationOptions());
227230
testDataList.addAll(createExistingDatabaseWithAllDataTypes());
228231
for (TestData testData : testDataList) {
229232
if (testData.isImportableTable()) {

integration-test/src/main/java/com/scalar/db/api/DistributedStorageAdminImportTableIntegrationTestBase.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ public void importTable_ForUnsupportedDatabase_ShouldThrowUnsupportedOperationEx
143143
alterColumnType_AlterColumnTypeFromEachExistingDataTypeToText_ForImportedTable_ShouldAlterColumnTypesCorrectly()
144144
throws Exception {
145145
// Arrange
146+
admin.createNamespace(getNamespace(), getCreationOptions());
146147
testDataList.addAll(createExistingDatabaseWithAllDataTypes());
147148
for (TestData testData : testDataList) {
148149
if (testData.isImportableTable()) {
@@ -182,6 +183,7 @@ public void importTable_ForUnsupportedDatabase_ShouldThrowUnsupportedOperationEx
182183
public void alterColumnType_WideningConversion_ForImportedTable_ShouldAlterProperly()
183184
throws Exception {
184185
// Arrange
186+
admin.createNamespace(getNamespace(), getCreationOptions());
185187
testDataList.addAll(createExistingDatabaseWithAllDataTypes());
186188
for (TestData testData : testDataList) {
187189
if (testData.isImportableTable()) {

0 commit comments

Comments
 (0)