Skip to content

Commit

Permalink
Mark permissions test as flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
bentrengrove committed Aug 25, 2022
1 parent 379a1e0 commit 2e1d050
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
TERM: dumb

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
# Fetch expanded history, which is needed for affected module detection
fetch-depth: '500'
Expand All @@ -108,7 +108,7 @@ jobs:
- name: Generate cache key
run: ./checksum.sh checksum.txt

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches/modules-*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import androidx.compose.ui.test.assertIsDisplayed
import androidx.compose.ui.test.junit4.createAndroidComposeRule
import androidx.compose.ui.test.onNodeWithText
import androidx.compose.ui.test.performClick
import androidx.test.filters.FlakyTest
import androidx.test.filters.SdkSuppress
import kotlinx.coroutines.ExperimentalCoroutinesApi
import org.junit.Before
import org.junit.Rule
import org.junit.Test
Expand Down Expand Up @@ -74,7 +74,7 @@ class RequestPermissionTest {
composeTestRule.onNodeWithText("No permission").assertIsDisplayed()
}

@OptIn(ExperimentalCoroutinesApi::class)
@FlakyTest
@Test
fun permissionTest_grantInTheBackground() {
composeTestRule.onNodeWithText("No permission").assertIsDisplayed()
Expand Down

0 comments on commit 2e1d050

Please sign in to comment.