Coder Social home page Coder Social logo

Comments (1)

dulanov avatar dulanov commented on May 14, 2024

It also reproducable locally on dev-machines and also any times with different reasons, for example it can looks like:

$ gotestsum --junitfile /tmp/test-reports/unit-tests.xml -- -count 1 -short github.com/ergo-services/ergo/tests
✖  tests (53.682s)

=== Failed
=== FAIL: tests TestRPC (0.10s)

=== Test RPC
Registering RPC method 'testMod.testFun' on nodeRPC@localhost:     rpc_test.go:60: timed out

=== FAIL: tests TestSagaCancelCases (0.01s)

=== Test GenSagaCancelCases
Starting node: [email protected]
Starting node: [email protected]
Starting node: [email protected]
Starting saga1 on [email protected]
Starting saga2 on [email protected]
Starting saga3 on [email protected]
  Case A (cancel TX on Node1.Saga1): Node1.Saga1 -> cancel -> Node2.Saga2 -> cancel -> Node3.Saga3
... Start new TX TX#122952.23684.0 on saga1: OK
... Start new worker on saga1 with TX TX#122952.23684.0: OK
... Start new TX TX#122952.23684.0 on saga2: OK
... Start new worker on saga2 with TX TX#122952.23684.0: OK
... Start new TX TX#122952.23684.0 on saga3: OK
... Start new worker on saga3 with TX TX#122952.23684.0: OK
... Cancel TX TX#122952.23684.0 on saga1:     saga_cancel_test.go:369: timed out

=== FAIL: tests TestSagaCommitDistributed (0.00s)

=== Test GenSagaCommitDistributed
Starting node: [email protected]
Starting node: [email protected]
... Starting Saga1 processes on node1: OK
... Starting Saga2 processes on node2: OK
... Start new TX on saga1: OK
... Start new worker on saga1: OK
... Start new TX on saga2: OK
... Start new worker on saga2: OK
... Try to send the result on saga1 (must be error ErrSagaTxInProgress):     saga_commit_test.go:234: must be error here

=== FAIL: tests TestSagaSimple (0.03s)

=== Test GenSagaSimple
Starting node: [email protected]
... Starting Saga processes: OK
    process 100 txs with 10 value(s) each and chunk size 5: OK
    process 100 txs with 1 value(s) each and chunk size 5: OK
    saga_test.go:206: timed out

=== FAIL: tests TestServerDirect (0.01s)

=== Test Server Direct
Starting node: nodeGS1Direct@localhost: OK
    wait for start of gsDirect on "nodeGS1Direct@localhost": OK
   process.Direct with 1000 goroutines:
    server_test.go:386: timed out
OK

DONE 64 tests, 5 failures in 54.160s

from ergo.

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.