Comments (1)
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)
- Unittest `TestDecodeFragment` occasionally fails
- i found rpc:call from erlang to ergo is not working HOT 2
- Ergo receives DIST packet along with the HANDSHAKE final packet. HOT 1
- Second CallRPC method is stuck when it is called against remote erlang node HOT 3
- Does Ergo have a plan to support OTP25/OTP26? HOT 1
- how to use simple_one_for_one under supervisor tree HOT 4
- Panic invalid memory address after reconnect a node HOT 6
- bug for deleteProcess HOT 3
- bug for (*process).UnregisterName HOT 2
- I doubt benchmarks be fair !!! HOT 3
- How to change Logger HOT 2
- gen.TcpHandle Question HOT 10
- When I close it frequently, there will be an unrecoverable panic. HOT 3
- Increase test coverage to 80% HOT 2
- node link problem? How to find HOT 8
- node link problem? HOT 2
- Support for Erlang/OTP 26 HOT 1
- Node.Stop () and node.Wait () will immediately end the process HOT 2
- PoolBehavior does not add restarted process to pool.monitors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ergo.