Skip to content
Snippets Groups Projects
Commit cca43e4e authored by Éloïs's avatar Éloïs
Browse files

[ci] with the sig verif, basic pow takes more than 50 ms on CI runner.

parent ae9f25aa
No related branches found
No related tags found
1 merge request!1283Resolve "Duniter uses a buggy version of TweetNaCl"
...@@ -62,7 +62,7 @@ describe('PoW Cluster', () => { ...@@ -62,7 +62,7 @@ describe('PoW Cluster', () => {
master.nbWorkers.should.above(0) master.nbWorkers.should.above(0)
}) })
it('should answer within 50ms for a basic PoW (warm)', async () => { it('should answer within 100ms for a basic PoW (warm)', async () => {
const start = Date.now() const start = Date.now()
await master.proveByWorkers({ await master.proveByWorkers({
newPoW: { newPoW: {
...@@ -85,7 +85,7 @@ describe('PoW Cluster', () => { ...@@ -85,7 +85,7 @@ describe('PoW Cluster', () => {
} }
}) })
const delay = Date.now() - start const delay = Date.now() - start
delay.should.be.below(50) delay.should.be.below(100)
}) })
it('should be able to stop all the cores on cancel', async () => { it('should be able to stop all the cores on cancel', async () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment