mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[terminal] IJPL-173788 Improve stability of the shell integration test
GitOrigin-RevId: fbc886be7dabd31a66b5f3d75b854630e996adda
This commit is contained in:
committed by
intellij-monorepo-bot
parent
de2d3dd1c3
commit
cb55e944c2
+1
-1
@@ -98,7 +98,7 @@ internal class ShellIntegrationTest(private val shellPath: Path) {
|
||||
fun `prompt events received after prompt is redrawn because of long completion output`() = timeoutRunBlocking(30.seconds) {
|
||||
Assume.assumeTrue(shellPath.toString().contains("zsh"))
|
||||
|
||||
val events = startSessionAndCollectOutputEvents { inputChannel ->
|
||||
val events = startSessionAndCollectOutputEvents(TermSize(80, 4)) { inputChannel ->
|
||||
inputChannel.send(TerminalWriteBytesEvent("g".toByteArray() + TAB_BYTES))
|
||||
// Shell can ask "do you wish to see all N possibilities? (y/n)"
|
||||
// Wait for this question and ask `y`
|
||||
|
||||
Reference in New Issue
Block a user