diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b45038b..482c298 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,15 +45,11 @@ jobs: ORG_GRADLE_PROJECT_SIGNING_KEY: ${{ secrets.SIGNING_KEY }} ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }} - - name: Zip Stately Collections Build Results - if: always() - run: zip stately-connections-bulid.zip deprecated/stately-collections/build/reports/tests/* -r - - name: Upload Stately Collections Build Results if: always() uses: actions/upload-artifact@v2 with: - name: stately-connections-bulid - path: stately-connections-bulid.zip + name: deprecated-test-results + path: deprecated/**/build/reports/tests/ env: GRADLE_OPTS: -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx3g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=512m" diff --git a/deprecated/stately-collections/src/commonTest/kotlin/co/touchlab/stately/collections/SharedLinkedListTest.kt b/deprecated/stately-collections/src/commonTest/kotlin/co/touchlab/stately/collections/SharedLinkedListTest.kt index bb37727..9c48794 100644 --- a/deprecated/stately-collections/src/commonTest/kotlin/co/touchlab/stately/collections/SharedLinkedListTest.kt +++ b/deprecated/stately-collections/src/commonTest/kotlin/co/touchlab/stately/collections/SharedLinkedListTest.kt @@ -443,7 +443,7 @@ class LinkedListTest { */ @Test fun testBasicThreads() { - val LOOPS = 2500 + val LOOPS = 500 val ops = ThreadOperations { SharedLinkedList() } val ll = SharedLinkedList().freeze() diff --git a/deprecated/stately-isolate/src/commonTest/kotlin/co/touchlab/stately/isolate/IsoStateTest.kt b/deprecated/stately-isolate/src/commonTest/kotlin/co/touchlab/stately/isolate/IsoStateTest.kt index 47473c3..444edda 100644 --- a/deprecated/stately-isolate/src/commonTest/kotlin/co/touchlab/stately/isolate/IsoStateTest.kt +++ b/deprecated/stately-isolate/src/commonTest/kotlin/co/touchlab/stately/isolate/IsoStateTest.kt @@ -17,7 +17,7 @@ class IsoStateTest { val ops = ThreadOperations {} val isoList = IsolateState { mutableListOf() } - repeat(100_000) { rcount -> + repeat(5_000) { rcount -> ops.exe { isoList.access { l -> l.add(SomeData("arst $rcount")) @@ -31,7 +31,7 @@ class IsoStateTest { l.size } - assertEquals(100_000, lsize) + assertEquals(5_000, lsize) } diff --git a/gradle.properties b/gradle.properties index 35e2f36..d0c5364 100644 --- a/gradle.properties +++ b/gradle.properties @@ -19,7 +19,7 @@ SONATYPE_HOST=DEFAULT RELEASE_SIGNING_ENABLED=true GROUP=co.touchlab -VERSION_NAME=2.0.7 +VERSION_NAME=2.1.0 POM_NAME=Stately POM_DESCRIPTION=Multithreaded Kotlin Multiplatform Utilities