Skip to content

Commit

Permalink
Dispatch Timeout Travis Test
Browse files Browse the repository at this point in the history
  • Loading branch information
cocojoe committed Jan 13, 2017
1 parent 95f8cf8 commit 23a8946
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LockTests/Interactors/DatabaseInteractorSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ class DatabaseInteractorSpec: QuickSpec {
}

// TODO: Check why it fails only in travis
pending("login dispatch") {
describe("login dispatch") {

var options: LockOptions!
var auth: Credentials?
Expand Down Expand Up @@ -596,7 +596,7 @@ class DatabaseInteractorSpec: QuickSpec {
try! database.update(.password(enforcePolicy: false), value: password)
database.login { _ in }
expect(auth?.accessToken).toEventually(equal("token"))
expect(presenter.presented).toEventually(beNil(), timeout: 2)
expect(presenter.presented).toEventually(beNil(), timeout: 10)
}

}
Expand Down

0 comments on commit 23a8946

Please sign in to comment.