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
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("2.14.584.0")]
|
||||
[assembly: AssemblyFileVersion("2.14.584.0")]
|
||||
[assembly: AssemblyVersion("2.14.585.0")]
|
||||
[assembly: AssemblyFileVersion("2.14.585.0")]
|
||||
|
||||
@ -28,6 +28,7 @@ namespace TBF.BenchControl.Output.FileWriters.Enhanced
|
||||
IList<Results.WMeterRsltItemSpec> testItems;
|
||||
string footer;
|
||||
|
||||
Results.Entities.Batch batch;
|
||||
|
||||
Thread thread; /// Thread where files are saved
|
||||
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>
|
||||
public IOperation WriteResultsOp(Results.Entities.Batch batch)
|
||||
{
|
||||
thread = new Thread(() =>
|
||||
{
|
||||
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());
|
||||
}
|
||||
this.batch = batch;
|
||||
|
||||
return this;
|
||||
}
|
||||
@ -225,10 +216,12 @@ namespace TBF.BenchControl.Output.FileWriters.Enhanced
|
||||
/// <summary>Start this operation</summary>
|
||||
public void Start()
|
||||
{
|
||||
completed = false;
|
||||
completed = false;
|
||||
abort = false;
|
||||
thread.Start();
|
||||
}
|
||||
WriteRslts(batch, writerCfg.DestinationPath);
|
||||
WriteRslts(batch, writerCfg.DestinationPath2);
|
||||
completed = true;
|
||||
}
|
||||
|
||||
/// <summary>Run this operation</summary>
|
||||
/// <returns>Event.ResultsWritten</returns>
|
||||
|
||||
@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
[assembly: AssemblyVersion("2.14.584.1")]
|
||||
[assembly: AssemblyFileVersion("2.14.584.1")]
|
||||
[assembly: AssemblyVersion("2.14.585.1")]
|
||||
[assembly: AssemblyFileVersion("2.14.585.1")]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user