Skip to content

Commit

Permalink
Removed loading of Discoverers while executing tests. (#955)
Browse files Browse the repository at this point in the history
* Removed loading of Discoverers while executing tests.

* Fixed failing tests.
  • Loading branch information
harshjain2 committed Jul 26, 2017
1 parent a771cd3 commit 2c3a9f5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
Expand Up @@ -171,10 +171,6 @@ private void LoadExtensions()
// Load the extensions on creation so that we dont have to spend time during first execution.
EqtTrace.Verbose("TestExecutorService: Loading the extensions");

TestDiscoveryExtensionManager.LoadAndInitializeAllExtensions(false);

EqtTrace.Verbose("TestExecutorService: Loaded the discoverers");

TestExecutorExtensionManager.LoadAndInitializeAllExtensions(false);

EqtTrace.Verbose("TestExecutorService: Loaded the executors");
Expand Down
Expand Up @@ -65,15 +65,6 @@ public void InitializeShouldLoadAndInitializeAllExtension()

Assert.IsNotNull(TestPluginCache.Instance.TestExtensions);

// Discoverers
Assert.IsTrue(TestPluginCache.Instance.TestExtensions.TestDiscoverers.Count > 0);
var allDiscoverers = TestDiscoveryExtensionManager.Create().Discoverers;

foreach (var discoverer in allDiscoverers)
{
Assert.IsTrue(discoverer.IsExtensionCreated);
}

// Executors
Assert.IsTrue(TestPluginCache.Instance.TestExtensions.TestExecutors.Count > 0);
var allExecutors = TestExecutorExtensionManager.Create().TestExtensions;
Expand Down

0 comments on commit 2c3a9f5

Please sign in to comment.