-
-
Notifications
You must be signed in to change notification settings - Fork 161
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bugs in features/aruba #452
Conversation
@mvz Feel free to push to this PR/branch |
@@ -69,7 +69,7 @@ Feature: Expand paths with aruba | |||
RSpec.describe 'Expand path', :type => :aruba do | |||
let(:path) { '~/path/to/dir' } | |||
|
|||
it { expect(expand_path(path)).to match %r</home/[^/]+/path/to/dir> } | |||
it { expect(expand_path(path)).to match %r</home/([^/]+/)+path/to/dir> } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the intent here was for [^/]+
to match exacly a user name.
The correct fix is probably to remove the 'before 1.0.0' part of the feature and fix the 1.0.0 part to not set things up in the before
section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I think, it was a "hack" I introduced. But you're right, the correct way is to remove that test. I missed the comment last night. Thanks.
Some of the remaining failures are due to Aruba not waiting for the running command to stop. @maxmeyer can you advise on what the desired behavior should be? I'm talking about cases where right now the cucumber scenarios have this:
The last step does not wait for any command to finish, unlike the old pre-1.0 behavior. |
Unfortunately I think I broke this step "a long time ago" without having issues on CI for a while. At least the code in several parts which are involved is the same for quite a long time. What do you think about this? |
23b348b
to
e0c9d09
Compare
@mvz I forced pushed a rebased version of this branch. Just for you to know. I removed the |
@mvz I would like to merge this branch and then setup another one to capture the discussion around the problems with failing tests due to aruba not waiting for the command to finish. |
@maxmeyer sounds like a good plan. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3d3e8d0
to
b2cc4dd
Compare
The default behavior has changed: Now the \016 and \017 sequences are removed by default.
Summary
Fix CI errors.
Details
This PR fixes errors on CI to make the build pass again.
Motivation and Context
Make the build pass again.
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: