Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
b9ad9a48
Commit
b9ad9a48
authored
4 years ago
by
Simon Ehrenstein
Browse files
Options
Downloads
Patches
Plain Diff
Wrap workload generation termination in IllegalStateException
parent
08f1ac56
No related branches found
No related tags found
1 merge request
!6
Add Distributed Workload Generator
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
workload-generator-commons/src/main/java/theodolite/commons/workloadgeneration/generators/AbstractWorkloadGenerator.java
+2
-2
2 additions, 2 deletions
...kloadgeneration/generators/AbstractWorkloadGenerator.java
with
2 additions
and
2 deletions
workload-generator-commons/src/main/java/theodolite/commons/workloadgeneration/generators/AbstractWorkloadGenerator.java
+
2
−
2
View file @
b9ad9a48
...
@@ -117,8 +117,8 @@ public abstract class AbstractWorkloadGenerator<T extends IMonitoringRecord>
...
@@ -117,8 +117,8 @@ public abstract class AbstractWorkloadGenerator<T extends IMonitoringRecord>
LOGGER
.
info
(
"Terminating now..."
);
LOGGER
.
info
(
"Terminating now..."
);
this
.
stop
();
this
.
stop
();
}
catch
(
final
InterruptedException
e
)
{
}
catch
(
final
InterruptedException
e
)
{
// TODO Auto-generated catch block
LOGGER
.
error
(
""
,
e
);
e
.
printStackTrace
(
);
throw
new
IllegalStateException
(
"Error when terminating the workload generation."
);
}
}
};
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment