[BadCase]BadCase入口触发超过4小时,不展示

This commit is contained in:
renwj
2022-05-09 17:09:31 +08:00
parent 6ab6caccc7
commit 1ce99f8cdb
6 changed files with 24 additions and 10 deletions

View File

@@ -25,9 +25,9 @@ if (!isAndroidTestBuild()) {
}
}
//if (!isAndroidTestBuild()) {
if (!isAndroidTestBuild()) {
apply plugin: 'apm-plugin'
//}
}
//if (!isAndroidTestBuild()) {
// apply plugin: 'bytex.threadOpt'
@@ -265,7 +265,7 @@ dependencies {
androidTestImplementation rootProject.ext.dependencies.androidx_espresso_core
}
//if (!isAndroidTestBuild()) {
if (!isAndroidTestBuild()) {
ApmPlugin {
// 是否进行插桩
enable true
@@ -289,7 +289,7 @@ dependencies {
]
}
//}
}
android.applicationVariants.all { variant ->
def buildTime = new Date().format("yyyyMMdd", TimeZone.getTimeZone("GMT+08:00"))

View File

@@ -33,6 +33,7 @@ class AutoPilotBadCaseTest {
@Test
fun showBadCaseEntrance1(): Unit = runBlocking(Dispatchers.Main) {
ensureMoGoHmiFragmentShow()
delay(TimeUnit.MILLISECONDS.toSeconds(30))
var index = 0
(1 until 50)
.map { it }