[Opensim-dev] [Opensim-commits] [OpenSim Git Master Repository] presence-refactor branch updated. r/12264

diva at metaverseink.com diva at metaverseink.com
Mon Feb 22 15:07:16 UTC 2010


Ah! Mystery explained.
That test is bombing both for MySql and SQLite. As far as I can tell, 
it's being caught in infinite recursion or some other resource 
exhaustion loop when doing the first scrambler.Scramble(p1);

Justin Clark-Casey wrote:
> "b92645a MySQL tests pass, except T016_RandomSogWithSceneParts. Total mystery as to why that test doesn't show in panda."
> 
> Diva, this is because I commented out the [Test] part above the T016_RandomSogWithSceneParts() method in 4355bcc because it was causing a very non-obvious failure for SQLite. 
> 
> If you uncomment it and it's working again that would be fantastic.
> 
> 
> opensim-commits-bounces at lists.berlios.de wrote:
>> The branch, presence-refactor has been updated
>>        via b92645a MySQL tests pass, except T016_RandomSogWithSceneParts. Total mystery as to why that test doesn't show in panda.
>>       from bb17171 Deleted obsolete files in the Data layer. Compiles.
>>
>> Those revisions listed above that are new to this repository have
>> not appeared on any other notification email; so we list those
>> revisions in full, below.
>>
>> - Log -----------------------------------------------------------------
>>
>> commit b92645ac5647d6c12f0ff2af214c6c4ef6e58680
>> Author: Diva Canto <diva at metaverseink.com>
>> Date:   Sun Feb 21 17:59:00 2010 -0800
>>
>>     MySQL tests pass, except T016_RandomSogWithSceneParts. Total mystery as to why that test doesn't show in panda.
>>
>> b92645ac5647d6c12f0ff2af214c6c4ef6e58680
>> diff --git a/OpenSim/Data/Tests/BasicAssetTest.cs b/OpenSim/Data/Tests/BasicAssetTest.cs
>> index 25aed61..967d70d 100644
>> --- a/OpenSim/Data/Tests/BasicAssetTest.cs
>> +++ b/OpenSim/Data/Tests/BasicAssetTest.cs
>> @@ -73,17 +73,23 @@ namespace OpenSim.Data.Tests
>>              a2.Data = asset1;
>>              a3.Data = asset1;
>>  
>> +            a1.Metadata.ContentType = "application/octet-stream";
>> +            a2.Metadata.ContentType = "application/octet-stream";
>> +            a3.Metadata.ContentType = "application/octet-stream";
>> +
>>              PropertyScrambler<AssetBase> scrambler = new PropertyScrambler<AssetBase>()
>>                  .DontScramble(x => x.Data)
>>                  .DontScramble(x => x.ID)
>>                  .DontScramble(x => x.FullID)
>>                  .DontScramble(x => x.Metadata.ID)
>> +                .DontScramble(x => x.Metadata.ContentType)
>>                  .DontScramble(x => x.Metadata.FullID);
>>  
>>              scrambler.Scramble(a1);
>>              scrambler.Scramble(a2);
>>              scrambler.Scramble(a3);
>>  
>> +
>>              db.StoreAsset(a1);
>>              db.StoreAsset(a2);
>>              db.StoreAsset(a3);
>>
>> -----------------------------------------------------------------------
>>
>> Summary of changes:
>>  OpenSim/Data/Tests/BasicAssetTest.cs |    6 ++++++
>>  1 files changed, 6 insertions(+), 0 deletions(-)
>> _______________________________________________
>> Opensim-commits mailing list
>> Opensim-commits at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-commits
>>
> 
> 



More information about the Opensim-dev mailing list