Skip to content

Commit

Permalink
Fix sync and async testkit backends launch (#1027)
Browse files Browse the repository at this point in the history
  • Loading branch information
injectives authored Oct 5, 2021
1 parent b53c708 commit d622c3e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ public TestkitRequestProcessorHandler( BackendMode backendMode )
switch ( backendMode )
{
case ASYNC:
processorImpl = TestkitRequestProcessorHandler::wrapSyncRequest;
processorImpl = TestkitRequest::processAsync;
break;
case REACTIVE:
processorImpl = ( request, state ) -> request.processRx( state ).toFuture();
break;
default:
processorImpl = TestkitRequest::processAsync;
processorImpl = TestkitRequestProcessorHandler::wrapSyncRequest;
break;
}
}
Expand Down

0 comments on commit d622c3e

Please sign in to comment.