Fix UnusedPrivateProperty errors
This commit is contained in:
Родитель
602f082a8e
Коммит
ba154be788
|
@ -72,7 +72,7 @@ class LogTest {
|
|||
assertEquals(logs.size, 3)
|
||||
assert(!wasCalled)
|
||||
|
||||
for (i in 0..15) {
|
||||
repeat(15) {
|
||||
Thread.sleep(10)
|
||||
@Suppress("ExplicitGarbageCollectionCall")
|
||||
System.gc()
|
||||
|
@ -167,7 +167,7 @@ class LogTest {
|
|||
RustLogAdapter.disable()
|
||||
|
||||
// Make sure the GC can now collect the background threads.
|
||||
for (i in 0..15) {
|
||||
repeat(15) {
|
||||
Thread.sleep(10)
|
||||
@Suppress("ExplicitGarbageCollectionCall")
|
||||
System.gc()
|
||||
|
|
|
@ -22,12 +22,12 @@ class Feature(val string: String): FMLFeatureInterface {
|
|||
|
||||
val holder = FeatureHolder<Feature>({ api }, featureId = "test-feature-holder") { Feature("NO CRASH") }
|
||||
|
||||
for (i in 0..10000) {
|
||||
repeat(10000) {
|
||||
scope.submit {
|
||||
holder.value()
|
||||
}
|
||||
}
|
||||
for (i in 0..2000) {
|
||||
repeat(2000) {
|
||||
scope.submit {
|
||||
holder.value()
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче