Skip to content

Commit

Permalink
timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
yasserf committed Jun 23, 2016
1 parent be41939 commit 706ebfd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test-e2e/specs/record-redis-permissionSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,11 @@ describe( 'record permissions with internal cache', function() {
rec.set( 'value', 2 );
setTimeout(function(){
expect( clientAErrors.length ).toBe( 1 );
expect( clientAErrors[ 0 ][ 1 ] ).toBe( 'MESSAGE_DENIED' );
if( clientAErrors[ 0 ] ) {
expect( clientAErrors[ 0 ][ 1 ] ).toBe( 'MESSAGE_DENIED' );
}
done();
}, 40 );
}, 100 );
});

it( 'sends a valid update, which results in a version conflict', function( done ) {
Expand Down

0 comments on commit 706ebfd

Please sign in to comment.