Fixes marketplace interference check tests.
This commit is contained in:
parent
b0f72cf453
commit
260294fb35
|
@ -1,4 +1,6 @@
|
||||||
using NUnit.Framework;
|
using CodexContractsPlugin;
|
||||||
|
using GethPlugin;
|
||||||
|
using NUnit.Framework;
|
||||||
using Utils;
|
using Utils;
|
||||||
|
|
||||||
namespace Tests.DownloadConnectivityTests
|
namespace Tests.DownloadConnectivityTests
|
||||||
|
@ -17,7 +19,9 @@ namespace Tests.DownloadConnectivityTests
|
||||||
[Test]
|
[Test]
|
||||||
public void MarketplaceDoesNotInterfereWithPeerDownload()
|
public void MarketplaceDoesNotInterfereWithPeerDownload()
|
||||||
{
|
{
|
||||||
//AddCodex(2, s => s.EnableMetrics().EnableMarketplace(1000.TestTokens()));
|
var geth = Ci.StartGethNode(s => s.IsMiner());
|
||||||
|
var contracts = Ci.StartCodexContracts(geth);
|
||||||
|
AddCodex(2, s => s.EnableMarketplace(geth, contracts, 10.Eth(), 1000.TestTokens()));
|
||||||
|
|
||||||
AssertAllNodesConnected();
|
AssertAllNodesConnected();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
using NUnit.Framework;
|
using CodexContractsPlugin;
|
||||||
|
using GethPlugin;
|
||||||
|
using NUnit.Framework;
|
||||||
|
|
||||||
namespace Tests.PeerDiscoveryTests
|
namespace Tests.PeerDiscoveryTests
|
||||||
{
|
{
|
||||||
|
@ -26,7 +28,9 @@ namespace Tests.PeerDiscoveryTests
|
||||||
[Test]
|
[Test]
|
||||||
public void MarketplaceDoesNotInterfereWithPeerDiscovery()
|
public void MarketplaceDoesNotInterfereWithPeerDiscovery()
|
||||||
{
|
{
|
||||||
//AddCodex(2, s => s.EnableMarketplace(1000.TestTokens()));
|
var geth = Ci.StartGethNode(s => s.IsMiner());
|
||||||
|
var contracts = Ci.StartCodexContracts(geth);
|
||||||
|
AddCodex(2, s => s.EnableMarketplace(geth, contracts, 10.Eth(), 1000.TestTokens()));
|
||||||
|
|
||||||
AssertAllNodesConnected();
|
AssertAllNodesConnected();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue