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
5a8aca02
Commit
5a8aca02
authored
4 years ago
by
Lorenz Boguhn
Browse files
Options
Downloads
Patches
Plain Diff
Fix Shutdown.kt
parent
9d08d51a
No related branches found
No related tags found
4 merge requests
!159
Re-implementation of Theodolite with Kotlin/Quarkus
,
!157
Update Graal Image in CI pipeline
,
!96
Handle shutdown
,
!83
WIP: Re-implementation of Theodolite with Kotlin/Quarkus
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theodolite-quarkus/src/main/kotlin/theodolite/execution/Shutdown.kt
+2
-4
2 additions, 4 deletions
...-quarkus/src/main/kotlin/theodolite/execution/Shutdown.kt
with
2 additions
and
4 deletions
theodolite-quarkus/src/main/kotlin/theodolite/execution/Shutdown.kt
+
2
−
4
View file @
5a8aca02
...
@@ -16,14 +16,12 @@ class Shutdown(private val benchmarkExecution: BenchmarkExecution, private val b
...
@@ -16,14 +16,12 @@ class Shutdown(private val benchmarkExecution: BenchmarkExecution, private val b
logger
.
info
{
"Received shutdown signal -> Shutting down"
}
logger
.
info
{
"Received shutdown signal -> Shutting down"
}
val
deployment
=
val
deployment
=
benchmark
.
buildDeployment
(
benchmark
.
buildDeployment
(
load
=
LoadDimension
(
0
,
"shutdown"
),
load
=
LoadDimension
(
0
,
emptyList
()
),
res
=
Resource
(
0
,
"shutdown"
),
res
=
Resource
(
0
,
emptyList
()
),
configurationOverrides
=
benchmarkExecution
.
configOverrides
configurationOverrides
=
benchmarkExecution
.
configOverrides
)
)
logger
.
info
{
"Teardown the everything deployed"
}
logger
.
info
{
"Teardown the everything deployed"
}
deployment
.
teardown
()
deployment
.
teardown
()
logger
.
info
{
"Teardown completed"
}
logger
.
info
{
"Teardown completed"
}
// TODO Clear/Reset the kafka lag exporter ?
}
}
}
}
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