coder/testutil
Spike Curtis 70e481e7a5
fix: use terminal emulator that keeps state in ReconnectingPTY tests (#9765)
* Add more pty diagnostics for terminal parsing

Signed-off-by: Spike Curtis <spike@coder.com>

* print escaped strings

Signed-off-by: Spike Curtis <spike@coder.com>

* Only log on failure - heisenbug?

Signed-off-by: Spike Curtis <spike@coder.com>

* use the terminal across matches to keep cursor & contents state

Signed-off-by: Spike Curtis <spike@coder.com>

* Only log bytes if we're not expecting EOF

Signed-off-by: Spike Curtis <spike@coder.com>

---------

Signed-off-by: Spike Curtis <spike@coder.com>
2023-09-19 17:57:30 +00:00
..
certificate.go feat: Add high availability for multiple replicas (#4555) 2022-10-17 13:43:30 +00:00
ci.go chore(coderd): remove timing check (#7144) 2023-04-17 17:40:02 +00:00
ctx.go feat: convert entire CLI to clibase (#6491) 2023-03-23 17:42:20 -05:00
duration.go test(testutil): increase wait times to reduce flakes (#8576) 2023-07-18 17:25:54 +03:00
duration_windows.go test(testutil): increase wait times to reduce flakes (#8576) 2023-07-18 17:25:54 +03:00
enable_timing.go chore: skip timing-sensistive AgentMetadata test in the standard suite (#7237) 2023-05-02 10:41:41 +00:00
eventually.go chore: update to go 1.20 (#5968) 2023-02-02 12:36:27 -06:00
eventually_test.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
oauth2.go feat: pass `access_token` to `coder_git_auth` resource (#6713) 2023-03-22 19:37:08 +00:00
pty.go fix: use terminal emulator that keeps state in ReconnectingPTY tests (#9765) 2023-09-19 17:57:30 +00:00
race.go fix(cli)!: protect client Logger and refactor cli scaletest tests (#8317) 2023-07-06 09:43:39 +01:00
race_off.go fix(cli)!: protect client Logger and refactor cli scaletest tests (#8317) 2023-07-06 09:43:39 +01:00
race_on.go fix(cli)!: protect client Logger and refactor cli scaletest tests (#8317) 2023-07-06 09:43:39 +01:00
temp.go feat: refactor deployment config (#6347) 2023-03-07 15:10:01 -06:00
timing.go chore: skip timing-sensistive AgentMetadata test in the standard suite (#7237) 2023-05-02 10:41:41 +00:00