Skip to content

Conversation

@amatiushkin
Copy link

@amatiushkin amatiushkin commented Oct 21, 2019

More tests for CDC Result processing during callback

@diana-derose FYI

@coveralls
Copy link

coveralls commented Oct 21, 2019

Coverage Status

Coverage increased (+0.2%) to 39.395% when pulling 0fc6ffd on amatiushkin:CDCQueryTests into 8889c3a on intuit:develop.

Comment on lines +63 to +72
public void errorNoResponse() throws FMSException {
final CDCResponse o = new CDCResponse();
final Fault fault = new Fault();
final Error error = new Error();
fault.setError(Collections.singletonList(error));
error.setDetail("My custom error");
o.setFault(fault);
o.setQueryResponse(null);

assertNotNull(results);
assertFalse(results.isEmpty());
assertEquals(1, results.size());
assertEmptyResult(invokeCDC(Collections.singletonList(o)));
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this uncovers either dead code in callback interceptor or potential defect. My expectation here is to be able to get error back.

@diana-derose diana-derose merged commit 3eefd1f into intuit:develop Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants