| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Added a MockRegionDataPlugin to do in-memory persistence for tests since adding this to OpenSim.Data.Null.NullDataStore doesn't seem appropriate
NullDataStore can do nothing because OpenSim only ever retrieve region objects from the database on startup. Adding an in-memory store here would be unecessary overhead.
|
|
|
|
|
|
| |
goes to the correct directory
Also removes some mono compiler warnings
|
| |
|
|
|
|
| |
easily configured for test purposes
|
|
|
|
|
|
| |
OpenSim.Data.Null.UserAuthenticationData plugin
additional tweaks to get this working properly
|
|
|
|
| |
didn't get the authentication server to work and my brain is about to fizzle out my ears
|
|
|
|
| |
improve test to retrieve object by known uuid rather than dynamically assigned local id
|
|
|
|
|
|
| |
reference
* Added a MockConsole that doesn't require a handle to System.Console
|
|
|
|
|
|
|
|
|
| |
config-include settings to a separate file for standalone
Update information in StandaloneCommon.ini.example to reflect this
Remove ISharedRegionModule interfaces from all SimianGrid connector classes temporarily since this stopped standalone from working (due to absence of AssetURI settings, etc.).
Solution here may be to create separate region module connectors as done by local/grid/hypergrid so that loading can be controlled via include files
Or otherwise work out how to stop these modules from being loaded for all OpenSim invocations
|
|
|
|
|
|
| |
Adds MockUserAccountService and connects it up
Stops services being carried over between tests since this leads to hard to find bugs
Improves information and error reporting when loading plugins
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
can now determine if a connection is from login, teleport or crossing.
Needed for a meaningful banlines implementation
|
|
|
|
| |
remove duplicate mock inventory service
|
|
|
|
| |
does the real LandChannel), percolating to SceneSetupHelpers.
|
|
|
|
| |
- adding LandDataSerializer to OAR mechanics
|
|
|
|
| |
and that needs to be reflected in all other services setups. But the teleport test still doesn't work. Commenting it for now.
|
|
|
|
|
|
| |
find it in the cache.
Commented out the Standalone teleport test because it's failing, and the scene setup is very confusing. I suspect it may be wrong -- the connectors-as-ISharedRegionModules are being instantiated several times when there are several scenes.
|
| |
|
|
|
|
|
| |
IConfigSource causing grief to region modules expecting it to be
non-empty (which a number of them do).
|
|
|
|
|
|
| |
randomly occurs.
* LongVersion nIni may be causing the test thread death. Pausing OpenSimulator during startup causes a nIni error that makes debugging startup operations difficult for users. It might be because when it's in pause mode, something else reads from the nini config passed? If it is, it might not be fixable.. however, if it's concurrency that causes nini death it would make sense to give each section of the tests a new IConfigSource so that they don't read from the same configsource at the same time.
|
|
|
|
| |
panda)
|
|
|
|
|
|
|
|
| |
inventory and asset, service modules. The boolean startServices was replaced with realServices string. If the string contains the word asset, it will start a real asset module, if it contains inventory, it starts a real inventory. Otherwise, it use mock (NullPlugin-like) objects, for tests that don't really need functionality.
* SetupScene is now actually sharing the asset and inventory modules if the tester wishes to have multiple regions connected. To link regions, just start SetupScene with the same CommunicationManager for all scenes. SceneSetupHelper will hold a static reference to the modules and won't initialize them again, just run the scenes through the modules AddRegion, RegionLoaded and PostInitialize.
* With the recent changes, both asset and inventory (and in the future, user) services should always be asked from the scene, not instantiated alone. The tests should reflect this new behavior and always start a scene.
|
|
|
|
| |
SceneSetupHelpers.SetupScene()
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
module interface. This fixes an issue where region references were being added but weren't being deleted,
causing those "unnotified circuit" messages.
* Also fixes tests accordingly
- Fixes Mantis #3452
- Fixes Mantis #3388
- Fixes Mantis #3871
- Related to Mantis #3493
|
| |
|
|
|
|
| |
Region/CoreModules/ServiceConnectorsOut. No functional changes.
|
| |
|
| |
|
| |
|
|
|
|
| |
LICENSE.txt.
|
| |
|
|
|
|
| |
hadn't been manually post intiailized
|
| |
|
|
|
|
|
|
| |
* Actually spit out the exception caught by the plugin loader - not much point having plugins throw exceptions if we are just going to ignore them
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
-- please see the example. Affects region servers only.
This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing.
Known problems:
* HG asset transfers are borked for now
* missing texture is missing
* 3 unit tests commented out for now
|
|
|
|
|
|
|
|
|
|
| |
Scene.NewUserConnection()
- adding reason reporting
this enforces estate bans very early on and prevents us from
circulating client objects that we'd then have to retract once we
realize that the client is not allowed into the region
|
|
|
|
|
|
|
|
|
| |
normal runtime thread
* This may eliminate the occasional archive test freezes, since they appeared to occur when somehow the asset server didn't pick up on the presence of a request in the asset
quque
|
| |
|
|
|
|
|
|
| |
- Fixed some locking issues. Either lock, or don't (if you don't have to). Only locking access half of the time won't work reliably.
- Had to adapt test helpers that use the "old" IRegionModule. TerrainModule isn't one anymore.
|
| |
|
|
|
|
|
|
| |
* Add some more debug code to narrow down where the tests are freezing
|
|
|
|
|
|
|
| |
* Fixed an issue with AssetCache where it would break unit tests randomly.
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
|
|
|
|
|
|
| |
* This is always available at Scene.CommsManager.AssetCache
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
These changes replace all direct references to the AssetCache with
IAssetCache. There is no change to functionality. Everything works as
before.
This is laying the groundwork for making it possible to register
alternative asset caching mechanisms without disrupting other parts of
OpenSim or their dependencies upon AssetCache functionality.
|
|
|
|
|
|
| |
OpenSim.Region.Environment.Modules.Agent en bloc to OpenSim.Region.CoreModules
|