Package org.apache.maven.index
Class ConcurrentUseWithMergedContextPublishingTest
java.lang.Object
org.eclipse.sisu.launch.InjectedTest
org.apache.maven.index.AbstractTestSupport
org.apache.maven.index.AbstractIndexCreatorHelper
org.apache.maven.index.AbstractNexusIndexerTest
org.apache.maven.index.ConcurrentUseTest
org.apache.maven.index.ConcurrentUseWithMergedContextTest
org.apache.maven.index.ConcurrentUseWithMergedContextPublishingTest
- All Implemented Interfaces:
com.google.inject.Module
public class ConcurrentUseWithMergedContextPublishingTest
extends ConcurrentUseWithMergedContextTest
The point in this test is: we use Merged context, and we modify some of the "members" in the merged context, while we
try to publish those simultaneously.
- Author:
- cstamas
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.maven.index.ConcurrentUseTest
ConcurrentUseTest.IndexUserThread
-
Field Summary
Modifier and TypeFieldDescriptionprotected final AtomicInteger
protected org.apache.maven.index.packer.IndexPacker
protected File
Fields inherited from class org.apache.maven.index.ConcurrentUseWithMergedContextTest
context1, context2, indexDir1, indexDir2
Fields inherited from class org.apache.maven.index.ConcurrentUseTest
repo, THREAD_COUNT
Fields inherited from class org.apache.maven.index.AbstractNexusIndexerTest
context, indexDir, nexusIndexer
Fields inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
DEFAULT_CREATORS, FULL_CREATORS, MIN_CREATORS
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.maven.index.ConcurrentUseWithMergedContextTest
createThread, prepareNexusIndexer
Methods inherited from class org.apache.maven.index.ConcurrentUseTest
addToIndex, deleteFromIndex, testConcurrency
Methods inherited from class org.apache.maven.index.AbstractNexusIndexerTest
assertGroup, unprepareNexusIndexer
Methods inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
deleteDirectory, getDirectory, testDirectory
Methods inherited from class org.apache.maven.index.AbstractTestSupport
getTestFile
Methods inherited from class org.eclipse.sisu.launch.InjectedTest
configure, configure, getBasedir, lookup, lookup, lookup, lookup, scanning, space, spaceModule
-
Field Details
-
packer
protected org.apache.maven.index.packer.IndexPacker packer -
repoPublish
-
counter
-
-
Constructor Details
-
ConcurrentUseWithMergedContextPublishingTest
public ConcurrentUseWithMergedContextPublishingTest()
-
-
Method Details
-
setUp
- Overrides:
setUp
in classAbstractNexusIndexerTest
- Throws:
Exception
-
tearDown
- Overrides:
tearDown
in classAbstractNexusIndexerTest
- Throws:
Exception
-
readIndex
protected int readIndex(org.apache.maven.index.NexusIndexer nexusIndexer, org.apache.maven.index.context.IndexingContext indexingContext) throws IOException - Overrides:
readIndex
in classConcurrentUseTest
- Throws:
IOException
-