Skip to content

Commit

Permalink
Adding log messages for multithreading #492
Browse files Browse the repository at this point in the history
  • Loading branch information
kashishm committed Mar 1, 2017
1 parent 74e4de8 commit fbdbb94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions execution/parallelExecution.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ func (e *parallelExecution) run() *result.SuiteResult {

resChan := make(chan *result.SuiteResult)
if e.isMultithreaded() {
logger.Debug("Using multithreading for parallel execution.")
go e.executeMultithreaded(nStreams, resChan)
} else if isLazy() {
go e.executeLazily(nStreams, resChan)
Expand Down
1 change: 1 addition & 0 deletions util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ func ConvertToBool(value, property string, defaultValue bool) bool {
boolValue, err := strconv.ParseBool(strings.TrimSpace(value))
if err != nil {
logger.Warning("Incorrect value for %s in property file. Cannot convert %s to boolean.", property, value)
logger.Warning("Using default value %v for property %s.", defaultValue, property)
return defaultValue
}
return boolValue
Expand Down

0 comments on commit fbdbb94

Please sign in to comment.