Code Monkey home page Code Monkey logo

Comments (7)

weex avatar weex commented on August 15, 2024 2

Let's keep it open. Wherever it's solved, we'll make sure the solution gets to the other place.

from acropolis.

weex avatar weex commented on August 15, 2024 1

I don't know if it's db-related but I understand there's a cucumber test instability from reporting in upstream diaspora#8279

from acropolis.

LEDCoyote avatar LEDCoyote commented on August 15, 2024

Ah, I see. I think I should close this issue as duplicating diaspora#7373, which is much more detailed. Do you agree?

from acropolis.

weex avatar weex commented on August 15, 2024

diaspora#7373 does have a list of tests near the top which fail randomly and that I have run into today as I test #45. So that's a +1 on the value part of this.

As for whether specific test flakiness is the right problem, my thinking is that tests of end-user behavior that are pretty easy for a dev to test locally might be more trouble than they are worth. Yesterday I learned these cucumber tests require Google Chrome's binary which I consider a problem in a free software project.

from acropolis.

weex avatar weex commented on August 15, 2024

This helps to see the most common recent failures.

gh run list -w CI -R c4social/diaspora | grep completed | grep failure | cut -f7 | while read -r line ; do
    gh run view $line --log-failed | grep Failing -A 1 | cut -f3 | cut -d' ' -f2-
done

Reading https://collectiveidea.com/blog/archives/2015/05/26/fixing-intermittent-failing-tests it seems many of these may have to do with race conditions and can be solved by making the step wait for a thing to return before moving on. For example this kind of thing where an action like click_link is followed immediately by end means the next step might be expecting a state change that hasn't finished.

When /^I select all aspects$/ do
  within('#aspects_list') do
    click_link "Select all"
  end
end

from acropolis.

weex avatar weex commented on August 15, 2024

Wit #79 having been applied, flakiness isn't being seen locally any more. Closing this but feel free to reopen if more is detected in CI or locally.

from acropolis.

weex avatar weex commented on August 15, 2024

If this seems fixed after a couple weeks more of development, then we'll make a PR for upstream.

from acropolis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.