Skip to content

Commit

Permalink
[fix] test need to be force v11
Browse files Browse the repository at this point in the history
  • Loading branch information
c-geek committed May 2, 2019
1 parent 4ab1189 commit 07c2178
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/integration/certification/certification-expiry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,18 @@
// GNU Affero General Public License for more details.

import {assertEqual, writeBasicTestWithConfAnd2Users} from "../tools/test-framework"
import {CommonConstants} from "../../../app/lib/common-libs/constants"

describe('Certification expiry + trimming', () => writeBasicTestWithConfAnd2Users({
sigReplay: 3,
sigPeriod: 0,
sigValidity: 10,
}, (test) => {

before(() => {
CommonConstants.BLOCK_NEW_GENERATED_VERSION = 11
})

const now = 1500000000

test('should be able to init with 2 blocks', async (s1, cat, tac, toc) => {
Expand Down Expand Up @@ -102,4 +107,8 @@ describe('Certification expiry + trimming', () => writeBasicTestWithConfAnd2User
[2] [0] [0] [2] ->
`)
})

after(() => {
CommonConstants.BLOCK_NEW_GENERATED_VERSION = 10
})
}))

0 comments on commit 07c2178

Please sign in to comment.