Skip to content

Commit 20e3ec0

Browse files
author
Bartosz Litwiniuk
committed
Improve unit-tests
1 parent d72974e commit 20e3ec0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backtrace-library/src/androidTest/java/backtraceio/library/database/BacktraceDatabaseContextMultithreadedTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public void setUp() {
6161
@Test
6262
public void testConcurrentModification() throws InterruptedException {
6363
// GIVEN
64-
final TestConfig config = new TestConfig(100, 50, 75, 2000);
64+
final TestConfig config = new TestConfig(500, 250, 150, 2000);
6565
final List<BacktraceDatabaseRecord> initialRecords = generateMockRecords(config.recordsState);
6666

6767
final CountDownLatch startLatch = new CountDownLatch(1);

backtrace-library/src/main/java/backtraceio/library/services/BacktraceDatabaseContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public boolean delete(BacktraceDatabaseRecord record) {
220220
return true;
221221
} catch (Exception e) {
222222
BacktraceLogger.d(LOG_TAG, "Exception on removing record "
223-
+ databaseRecord.id.toString() + "from db context: " + e.getMessage());
223+
+ databaseRecord.id + " from db context: " + e.getMessage());
224224
}
225225
}
226226
}

0 commit comments

Comments
 (0)