We fixed the issue and it was a DB problem , in HSQL it start the
sequence with 0 , whereas in Derby it start with 1.

Thanks
Deepal

Keith Chapman wrote:
> Hi this test case is invalid.i will try to get u the exact scenario that
> causes problems.
>
> Thanks,
> Keith.
>
>
> Keith Chapman wrote:
>   
>> I tracked down the problem with versioning to the following issue. I
>> added a commentedout testcase to the registry too. Please take a look
>> and fix the problem.
>>
>> Here is the test case added to VersionHandlingTest
>>
>> public void testResourceVersioning() throws Exception{
>>
>>         String mashupString = "testMashup";
>>
>>         Resource mashup = new Resource();
>>         mashup.setContent(mashupString);
>>         registry.put("/wso2/mashup", mashup);
>>
>>
>>         Resource wsas = new Resource();
>>         wsas.setContent("testWSAS".getBytes());
>>         registry.put("/wso2/wsas", wsas);
>>
>>
>>         Resource myMashup = registry.get("/wso2/mashup");
>>         String content = (String) myMashup.getContent();
>>         assertNotNull(content);
>>         assertEquals(mashupString,content);
>>     }
>>
>> Thanks,
>> Keith.
>>
>> _______________________________________________
>> Registry-dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/registry-dev
>>
>>     
>
>
> _______________________________________________
> Registry-dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/registry-dev
>
>
>   



_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev

Reply via email to