Multiple file writers temporary bug fix, ver. 2.14.585
This commit is contained in:
parent
76a841bc84
commit
3a3dc59275
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("2.14.584.0")]
|
[assembly: AssemblyVersion("2.14.585.0")]
|
||||||
[assembly: AssemblyFileVersion("2.14.584.0")]
|
[assembly: AssemblyFileVersion("2.14.585.0")]
|
||||||
|
|||||||
@ -28,6 +28,7 @@ namespace TBF.BenchControl.Output.FileWriters.Enhanced
|
|||||||
IList<Results.WMeterRsltItemSpec> testItems;
|
IList<Results.WMeterRsltItemSpec> testItems;
|
||||||
string footer;
|
string footer;
|
||||||
|
|
||||||
|
Results.Entities.Batch batch;
|
||||||
|
|
||||||
Thread thread; /// Thread where files are saved
|
Thread thread; /// Thread where files are saved
|
||||||
bool completed; /// Set to 'true' when writing to files completed
|
bool completed; /// Set to 'true' when writing to files completed
|
||||||
@ -207,17 +208,7 @@ namespace TBF.BenchControl.Output.FileWriters.Enhanced
|
|||||||
/// <returns>Reference to the operation</returns>
|
/// <returns>Reference to the operation</returns>
|
||||||
public IOperation WriteResultsOp(Results.Entities.Batch batch)
|
public IOperation WriteResultsOp(Results.Entities.Batch batch)
|
||||||
{
|
{
|
||||||
thread = new Thread(() =>
|
this.batch = batch;
|
||||||
{
|
|
||||||
WriteRslts(batch, writerCfg.DestinationPath);
|
|
||||||
WriteRslts(batch, writerCfg.DestinationPath2);
|
|
||||||
completed = true;
|
|
||||||
});
|
|
||||||
|
|
||||||
if (writerCfg.Culture > Culture.system && writerCfg.Culture < Culture.Count)
|
|
||||||
{
|
|
||||||
thread.CurrentCulture = new CultureInfo(writerCfg.Culture.ToString());
|
|
||||||
}
|
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -225,10 +216,12 @@ namespace TBF.BenchControl.Output.FileWriters.Enhanced
|
|||||||
/// <summary>Start this operation</summary>
|
/// <summary>Start this operation</summary>
|
||||||
public void Start()
|
public void Start()
|
||||||
{
|
{
|
||||||
completed = false;
|
completed = false;
|
||||||
abort = false;
|
abort = false;
|
||||||
thread.Start();
|
WriteRslts(batch, writerCfg.DestinationPath);
|
||||||
}
|
WriteRslts(batch, writerCfg.DestinationPath2);
|
||||||
|
completed = true;
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>Run this operation</summary>
|
/// <summary>Run this operation</summary>
|
||||||
/// <returns>Event.ResultsWritten</returns>
|
/// <returns>Event.ResultsWritten</returns>
|
||||||
|
|||||||
@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
|
|||||||
// Build Number
|
// Build Number
|
||||||
// Revision
|
// Revision
|
||||||
//
|
//
|
||||||
[assembly: AssemblyVersion("2.14.584.1")]
|
[assembly: AssemblyVersion("2.14.585.1")]
|
||||||
[assembly: AssemblyFileVersion("2.14.584.1")]
|
[assembly: AssemblyFileVersion("2.14.585.1")]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user