Re: PermissionBasedStatusMergerSpec is failing

2016-09-16 Thread Tijo Thomas
Output when I ran through IDE, Condition not satisfied: returnedJson == expectedJson || | || {"id":"hidden","groupId":"hidden","name":"hidden","type":"hidden","bytesRead":0,"bytesWritten":0,"read":"0 bytes","written":"0 bytes","flowFilesIn":0,"bytesIn":0,"input":"0 (0 by

Re: Problem with OAuth login from within SpringContextProcessor using Camel

2016-09-16 Thread Oleg Zhurakousky
Matt Sorry for the late reply Let me start by saying that I am happy to see that 3 out of 4 scenarios are working well for you and that Spring integration is getting some traction. Now to the problem. . . SpringContextProcessor was designed to provide an ability to send, receive and/or both Fl

Re: PermissionBasedStatusMergerSpec is failing

2016-09-16 Thread Jeff
Thank you for the information. Did you try running the tests on a fresh clone of the github repo? Could you please link me to or include the contents of StatusMerger.java and ProcessorStatusSnapshotDTO.java? On Fri, Sep 16, 2016 at 4:17 AM Tijo Thomas wrote: > > Output when I ran through IDE,

Re: PermissionBasedStatusMergerSpec is failing

2016-09-16 Thread Tijo Thomas
Hi Jeff, Yes, I took a fresh clone from git hub . I cleaned my maven repo as well before building . Attached StatusMerger.java and ProcessorStatusSnapshotDTO.java All, It will be great if others also check if it is happening when u build. I am worried whether I am doing some thing really stu

Re: PermissionBasedStatusMergerSpec is failing

2016-09-16 Thread Jeff
I looked into the merger code and found a possible issue. I haven't been able to reproduce the test failure you're getting by setting my locale to en_IN, but I have a sneaking suspicion that FormatUtils might be the culprit here when it's formatting the value for TasksDuration in the target DTO.