Skip to content

Commit 4e3b0be

Browse files
committed
Fix
1 parent af054bc commit 4e3b0be

File tree

2 files changed

+6
-75
lines changed

2 files changed

+6
-75
lines changed

core/src/integration-test/java/com/scalar/db/storage/objectstorage/ConsensusCommitSpecificIntegrationTestWithObjectStorage.java

Lines changed: 2 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -59,80 +59,11 @@ protected Properties getProperties(String testName) {
5959

6060
@Override
6161
@Disabled("Object Storage does not support index-related operations")
62-
public void scan_ScanWithIndexGiven_WithSerializable_ShouldNotThrowAnyException() {}
62+
public void scan_ScanWithIndexGiven_WithSerializable_ShouldThrowIllegalArgumentException() {}
6363

6464
@Override
6565
@Disabled("Object Storage does not support index-related operations")
66-
public void
67-
scan_ScanWithIndexGiven_RecordUpdatedByAnotherTransaction_WithSerializable_ShouldThrowCommitConflictException() {}
68-
69-
@Override
70-
@Disabled("Object Storage does not support index-related operations")
71-
public void
72-
scan_ScanWithIndexGiven_RecordUpdatedByMyself_WithSerializable_ShouldNotThrowAnyException() {}
73-
74-
@Override
75-
@Disabled("Object Storage does not support index-related operations")
76-
public void
77-
scan_ScanWithIndexGiven_RecordDeletedByAnotherTransaction_WithSerializable_ShouldThrowCommitConflictException() {}
78-
79-
@Override
80-
@Disabled("Object Storage does not support index-related operations")
81-
public void
82-
scan_ScanWithIndexGiven_RecordDeletedByMyself_WithSerializable_ShouldNotThrowAnyException() {}
83-
84-
@Override
85-
@Disabled("Object Storage does not support index-related operations")
86-
public void scan_ScanWithIndexWithLimitGiven_WithSerializable_ShouldNotThrowAnyException() {}
87-
88-
@Override
89-
@Disabled("Object Storage does not support index-related operations")
90-
public void get_GetWithIndexGiven_WithSerializable_ShouldNotThrowAnyException() {}
91-
92-
@Override
93-
@Disabled("Object Storage does not support index-related operations")
94-
public void
95-
get_GetWithIndexGiven_RecordUpdatedByAnotherTransaction_WithSerializable_ShouldThrowCommitConflictException() {}
96-
97-
@Override
98-
@Disabled("Object Storage does not support index-related operations")
99-
public void
100-
get_GetWithIndexGiven_RecordUpdatedByMyself_WithSerializable_ShouldNotThrowAnyException() {}
101-
102-
@Override
103-
@Disabled("Object Storage does not support index-related operations")
104-
public void
105-
get_GetWithIndexGiven_RecordDeletedByAnotherTransaction_WithSerializable_ShouldThrowCommitConflictException() {}
106-
107-
@Override
108-
@Disabled("Object Storage does not support index-related operations")
109-
public void
110-
get_GetWithIndexGiven_RecordDeletedByMyself_WithSerializable_ShouldNotThrowAnyException() {}
111-
112-
@Override
113-
@Disabled("Object Storage does not support index-related operations")
114-
public void
115-
get_GetWithIndexGiven_NoRecordsInIndexRange_WithSerializable_ShouldNotThrowAnyException() {}
116-
117-
@Override
118-
@Disabled("Object Storage does not support index-related operations")
119-
public void
120-
get_GetWithIndexGiven_RecordInsertedIntoIndexRangeByMyself_WithSerializable_ShouldNotThrowAnyException() {}
121-
122-
@Override
123-
@Disabled("Object Storage does not support index-related operations")
124-
public void
125-
get_GetWithIndexGiven_RecordInsertedIntoIndexRangeByAnotherTransaction_WithSerializable_ShouldThrowCommitConflictException() {}
126-
127-
@Override
128-
@Disabled("Object Storage does not support index-related operations")
129-
public void
130-
get_GetWithIndexGiven_NoRecordsInIndexRange_RecordInsertedIntoIndexRangeByMyself_WithSerializable_ShouldNotThrowAnyException() {}
131-
132-
@Override
133-
@Disabled("Object Storage does not support index-related operations")
134-
public void
135-
get_GetWithIndexGiven_NoRecordsInIndexRange_RecordInsertedIntoIndexRangeByAnotherTransaction_WithSerializable_ShouldThrowCommitConflictException() {}
66+
public void get_GetWithIndexGiven_WithSerializable_ShouldThrowIllegalArgumentException() {}
13667

13768
@Override
13869
@Disabled("Object Storage does not support index-related operations")

integration-test/src/main/java/com/scalar/db/transaction/consensuscommit/ConsensusCommitSpecificIntegrationTestBase.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5457,7 +5457,7 @@ void scan_ScanAllWithLimitGiven_WithSerializable_ShouldNotThrowAnyException()
54575457
}
54585458

54595459
@Test
5460-
void scan_ScanWithIndexGiven_WithSerializable_ShouldThrowIllegalArgumentException()
5460+
public void scan_ScanWithIndexGiven_WithSerializable_ShouldThrowIllegalArgumentException()
54615461
throws TransactionException {
54625462
// Arrange
54635463
ConsensusCommitManager manager = createConsensusCommitManager(Isolation.SERIALIZABLE);
@@ -5514,7 +5514,7 @@ void scan_ScanWithIndexGiven_WithSerializable_ShouldThrowIllegalArgumentExceptio
55145514
}
55155515

55165516
@Test
5517-
void get_GetWithIndexGiven_WithSerializable_ShouldThrowIllegalArgumentException()
5517+
public void get_GetWithIndexGiven_WithSerializable_ShouldThrowIllegalArgumentException()
55185518
throws TransactionException {
55195519
// Arrange
55205520
ConsensusCommitManager manager = createConsensusCommitManager(Isolation.SERIALIZABLE);
@@ -5761,7 +5761,7 @@ void getScanner_RecordInsertedByAnotherTransaction_WithSerializable_ShouldNotThr
57615761

57625762
@ParameterizedTest
57635763
@EnumSource(value = Isolation.class, mode = EnumSource.Mode.EXCLUDE, names = "SERIALIZABLE")
5764-
void getAndUpdate_GetWithIndexGiven_ShouldUpdate(Isolation isolation)
5764+
public void getAndUpdate_GetWithIndexGiven_ShouldUpdate(Isolation isolation)
57655765
throws TransactionException {
57665766
// Arrange
57675767
ConsensusCommitManager manager = createConsensusCommitManager(isolation);
@@ -5816,7 +5816,7 @@ void getAndUpdate_GetWithIndexGiven_ShouldUpdate(Isolation isolation)
58165816

58175817
@ParameterizedTest
58185818
@EnumSource(value = Isolation.class, mode = EnumSource.Mode.EXCLUDE, names = "SERIALIZABLE")
5819-
void scanAndUpdate_ScanWithIndexGiven_ShouldUpdate(Isolation isolation)
5819+
public void scanAndUpdate_ScanWithIndexGiven_ShouldUpdate(Isolation isolation)
58205820
throws TransactionException {
58215821
// Arrange
58225822
ConsensusCommitManager manager = createConsensusCommitManager(isolation);

0 commit comments

Comments
 (0)