fix pr comments
This commit is contained in:
parent
62232d30c4
commit
fb4b88eea9
|
@ -63,7 +63,7 @@ var _ = Describe("Dynamic validators addition/removal testing", func() {
|
|||
It("TFS-02-01 Add validators", func() {
|
||||
testValidators := 3
|
||||
|
||||
By("Ensure that numbers of validator is equal than $numberOfValidators", func() {
|
||||
By("Ensure that numbers of validator is equal to $numberOfValidators", func() {
|
||||
for _, v := range blockchain.Validators() {
|
||||
client := v.NewIstanbulClient()
|
||||
validators, err := client.GetValidators(context.Background(), nil)
|
||||
|
@ -89,7 +89,7 @@ var _ = Describe("Dynamic validators addition/removal testing", func() {
|
|||
It("TFS-02-03 Remove validators", func() {
|
||||
numOfCandidates := 3
|
||||
|
||||
By("Ensure that numbers of validator is equal than $numberOfValidators", func() {
|
||||
By("Ensure that numbers of validator is equal to $numberOfValidators", func() {
|
||||
for _, v := range blockchain.Validators() {
|
||||
client := v.NewIstanbulClient()
|
||||
validators, err := client.GetValidators(context.Background(), nil)
|
||||
|
@ -125,7 +125,7 @@ var _ = Describe("Dynamic validators addition/removal testing", func() {
|
|||
Expect(err).Should(BeNil())
|
||||
Expect(len(validators)).Should(BeNumerically("==", numberOfValidators))
|
||||
}
|
||||
By("Ensure that consensus is working in 10 seconds", func() {
|
||||
By("Ensure that consensus is working in 30 seconds", func() {
|
||||
Expect(blockchain.EnsureConsensusWorking(blockchain.Validators(), 30*time.Second)).Should(BeNil())
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue