wip
This commit is contained in:
parent
fbf71e9fe8
commit
d726da5228
|
@ -35,10 +35,7 @@ namespace CodexTests.BasicTests
|
||||||
var numberOfHosts = 5;
|
var numberOfHosts = 5;
|
||||||
var hosts = StartCodex(numberOfHosts, s => s
|
var hosts = StartCodex(numberOfHosts, s => s
|
||||||
.WithName("Host")
|
.WithName("Host")
|
||||||
.WithLogLevel(CodexLogLevel.Trace, new CodexLogCustomTopics(CodexLogLevel.Error, CodexLogLevel.Error, CodexLogLevel.Warn)
|
.WithLogLevel(CodexLogLevel.Trace, new CodexLogCustomTopics(CodexLogLevel.Info, CodexLogLevel.Info, CodexLogLevel.Info))
|
||||||
{
|
|
||||||
ContractClock = CodexLogLevel.Trace,
|
|
||||||
})
|
|
||||||
.WithStorageQuota(11.GB())
|
.WithStorageQuota(11.GB())
|
||||||
.EnableMarketplace(geth, contracts, m => m
|
.EnableMarketplace(geth, contracts, m => m
|
||||||
.WithInitial(10.Eth(), hostInitialBalance)
|
.WithInitial(10.Eth(), hostInitialBalance)
|
||||||
|
@ -137,10 +134,7 @@ namespace CodexTests.BasicTests
|
||||||
|
|
||||||
var hosts = StartCodex(numberOfHosts, s => s
|
var hosts = StartCodex(numberOfHosts, s => s
|
||||||
.WithName("Host")
|
.WithName("Host")
|
||||||
.WithLogLevel(CodexLogLevel.Trace, new CodexLogCustomTopics(CodexLogLevel.Error, CodexLogLevel.Error, CodexLogLevel.Warn)
|
.WithLogLevel(CodexLogLevel.Trace, new CodexLogCustomTopics(CodexLogLevel.Info, CodexLogLevel.Info, CodexLogLevel.Trace))
|
||||||
{
|
|
||||||
ContractClock = CodexLogLevel.Trace,
|
|
||||||
})
|
|
||||||
.WithStorageQuota(11.GB())
|
.WithStorageQuota(11.GB())
|
||||||
.EnableMarketplace(geth, contracts, m => m
|
.EnableMarketplace(geth, contracts, m => m
|
||||||
.WithInitial(10.Eth(), hostInitialBalance)
|
.WithInitial(10.Eth(), hostInitialBalance)
|
||||||
|
@ -179,18 +173,6 @@ namespace CodexTests.BasicTests
|
||||||
return line;
|
return line;
|
||||||
};
|
};
|
||||||
|
|
||||||
var handler = new EventLogginHandler(GetTestLog());
|
|
||||||
var chainState = new ChainState(GetTestLog(), contracts, handler, GetTestRunTimeRange().From);
|
|
||||||
|
|
||||||
Task.Run(() =>
|
|
||||||
{
|
|
||||||
while (true)
|
|
||||||
{
|
|
||||||
chainState.Update();
|
|
||||||
Thread.Sleep(2000);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
var testFile = CreateFile(fileSize);
|
var testFile = CreateFile(fileSize);
|
||||||
|
|
Loading…
Reference in New Issue