Flaky spec spec/features/projects/commit/user_reverts_commit_spec.rb:35

Job #265731446 failed for gitlab-ce@5e20689d890598a6f1539a43365659cade13cdae:

Failures:

  1) User reverts a commit without creating a new merge request does not revert a previously reverted commit
     Failure/Error: expect(page).to have_content('Sorry, we cannot revert this commit automatically.')
       expected to find text "Sorry, we cannot revert this commit automatically." in "Skip to content Projects Groups Activity Milestones Snippets Go P project34 Project Repository Files Commits Branches Tags Contributors Graph Compare Charts Issues 0 Merge Requests 0 CI / CD Operations Wiki Snippets Settings Collapse sidebar John Doe116 project34 Commits 570e7b2a Unverified Commit 570e7b2a authored 5 years ago by Dmitriy Zaporozhets Browse files Options Change some files Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> parent 6f6d7e7e master No related merge requests found Changes 2 Hide whitespace changes Inline Side-by-side Showing 2 changed files with 11 additions and 6 deletions files/ruby/popen.rb View file @ 570e7b2a ... ... @@ -6,12 +6,18 @@ module Popen def popen(cmd, path=nil) unless cmd.is_a?(Array) raise \"System commands must be given as an array of strings\" raise RuntimeError, \"System commands must be given as an array of strings\" end path ||= Dir.pwd vars = { \"PWD\" => path } options = { chdir: path } vars = { \"PWD\" => path } options = { chdir: path } unless File.directory?(path) FileUtils.mkdir_p(path) ... ... @@ -19,6 +25,7 @@ module Popen @cmd_output = \"\" @cmd_status = 0 Open3.popen3(vars, *cmd, options) do |stdin, stdout, stderr, wait_thr| @cmd_output << stdout.read @cmd_output << stderr.read ... ... files/ruby/regex.rb View file @ 570e7b2a ... ... @@ -19,14 +19,12 @@ module Gitlab end def archive_formats_regex #|zip|tar| tar.gz | tar.bz2 | /(zip|tar|tar\\.gz|tgz|gz|tar\\.bz2|tbz|tbz2|tb2|bz2)/ /(zip|tar|7z|tar\\.gz|tgz|gz|tar\\.bz2|tbz|tbz2|tb2|bz2)/ end def git_reference_regex # Valid git ref regex, see: # https://www.kernel.org/pub/software/scm/git/docs/git-check-ref-format.html %r{ (?! (?# doesn't begins with) ... ... Write Preview Markdown and quick actions are supported Attach a file"
     # ./vendor/ruby/2.6.0/gems/rspec-support-3.8.2/lib/rspec/support.rb:97:in `block in <module:Support>'
     # ./vendor/ruby/2.6.0/gems/rspec-support-3.8.2/lib/rspec/support.rb:106:in `notify_failure'
     # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.8.4/lib/rspec/expectations/fail_with.rb:35:in `fail_with'
     # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.8.4/lib/rspec/expectations/handler.rb:40:in `handle_failure'
     # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.8.4/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
     # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.8.4/lib/rspec/expectations/handler.rb:27:in `with_matcher'
     # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.8.4/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
     # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.8.4/lib/rspec/expectations/expectation_target.rb:65:in `to'
     # ./spec/features/projects/commit/user_reverts_commit_spec.rb:47:in `block (3 levels) in <top (required)>'
Assignee Loading
Time tracking Loading