Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: fix flake in apptest reconnecting-pty test#7281

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
deansheather merged 1 commit intomainfromdean/fix-apptest-flake
Apr 26, 2023

Conversation

deansheather
Copy link
Member

@deansheatherdeansheather commentedApr 25, 2023
edited
Loading

Makes the tests identical because the other ones work. I had to change the codersdk methods a bit to accomplish this.

https://github.com/coder/coder/actions/runs/4786259967/jobs/8510272554

Copy link
Member

@EmyrkEmyrk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Sure

bufRead := bufio.NewReader(conn)

// Brief pause to reduce the likelihood that we send keystrokes while
// the shell is simultaneously sending a prompt.
time.Sleep(100 * time.Millisecond)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I guess we can't expect prompt first? If we could set env PS1=> then we'd have something to look for.

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

PS1 doesn't seem to be accepted through env in bash, only as a variable

@deansheatherdeansheatherenabled auto-merge (squash)April 26, 2023 00:25
@deansheatherdeansheather merged commitf1dfeb0 intomainApr 26, 2023
@deansheatherdeansheather deleted the dean/fix-apptest-flake branchApril 26, 2023 00:31
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsApr 26, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@mafredrimafredrimafredri approved these changes

@EmyrkEmyrkEmyrk approved these changes

Assignees

@deansheatherdeansheather

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@deansheather@mafredri@Emyrk

[8]ページ先頭

©2009-2025 Movatter.jp