ML in SE: increase semantic search tests timeouts

GitOrigin-RevId: 78dc0cfdaae616f144aabe82e2d0b5e576d64be6
This commit is contained in:
Evgeny Abramov
2024-02-21 20:04:13 +02:00
committed by intellij-monorepo-bot
parent d0852ed01d
commit 34e303733a

View File

@@ -35,7 +35,7 @@ class SemanticActionSearchTest : SemanticSearchBaseTestCase() {
} }
fun `test search everywhere contributor`() = runTest( fun `test search everywhere contributor`() = runTest(
timeout = 30.seconds // increased timeout because of a bug in SE timeout = 45.seconds // increased timeout because of a bug in SE
) { ) {
setupTest("java/IndexProjectAction.java") setupTest("java/IndexProjectAction.java")
@@ -65,7 +65,7 @@ class SemanticActionSearchTest : SemanticSearchBaseTestCase() {
0, results.filterIsInstance<GotoActionModel.MatchedValue>().mapNotNull { it.value as? GotoActionModel.MatchedValue }.size) 0, results.filterIsInstance<GotoActionModel.MatchedValue>().mapNotNull { it.value as? GotoActionModel.MatchedValue }.size)
} }
fun `test semantic and standard contributor results match`() = runTest(timeout = 2.minutes) { fun `test semantic and standard contributor results match`() = runTest(timeout = 5.minutes) {
setupTest("java/IndexProjectAction.java") setupTest("java/IndexProjectAction.java")
// Contributors do not share the same GotoActionModel: // Contributors do not share the same GotoActionModel: