================
@@ -32,7 +32,7 @@ def test_run_quit(self):
         print("Got launch message")
         child.sendline("quit")
         print("sent quit")
-        child.expect(pexpect.EOF, timeout=15)
+        child.expect(pexpect.EOF, timeout=30)
----------------
JDevlieghere wrote:

Let's define a global timeout for this test (that's also Asan aware):

```
    TIMEOUT = 30 * (10 if ("ASAN_OPTIONS" in os.environ) else 1)
```

and then use it in both places:

```suggestion
        child.expect(pexpect.EOF, timeout=self.TIMEOUT)
```

https://github.com/llvm/llvm-project/pull/181660
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to