10000 Add comprehensive test suite for ZIOApp graceful shutdown behavior (Issue #9909) by promisingcoder · Pull Request #9971 · zio/zio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add comprehensive test suite for ZIOApp graceful shutdown behavior (Issue #9909) #9971

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 117 commits into
base: series/2.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
37b9f79
Add comprehensive test suite for ZIOApp (#9909)
promisingcoder Jun 13, 2025
90b96cc
Fix ZIOApp test suite compilation errors (#9909)- Fix access to prote…
promisingcoder Jun 13, 2025
6d4b92a
Fix compilation errors in ZIOApp test suite (#9909)
promisingcoder Jun 13, 2025
9ec7cb2
removed unused imports
promisingcoder Jun 13, 2025
1ec532b
removed unused imports in jvm part
promisingcoder Jun 13, 2025
73067fc
Fix ZIOApp test suite compilation errors
promisingcoder Jun 13, 2025
78d6826
removed unused import
promisingcoder Jun 13, 2025
b4b3634
Fix System property access and line separator handling
promisingcoder Jun 13, 2025
2feb07c
Fix discarded non-Unit value error in destroyForcibly call
promisingcoder Jun 13, 2025
4d995fb
Fix discarded non-Unit value errors with proper error handling
promisingcoder Jun 13, 2025
0d895aa
Use TestAspect.withLiveClock to fix test clock warning in process tests
promisingcoder Jun 14, 2025
ec12b4d
Fix process handling issues in ZIOApp tests
promisingcoder Jun 14, 2025
b0ce32d
Fix unused exitCode variables in ZIOAppProcessSpec
promisingcoder Jun 14, 2025
3b6b12f
Refactor ProcessTestUtils.sendSignal to avoid non-local returns; upda…
promisingcoder Jun 14, 2025
50205ad
Fix compilation errors and warnings in ZIOAppSpec and ProcessTestUtil…
promisingcoder Jun 14, 2025
35b96d7
fixed import error
promisingcoder Jun 14, 2025
e2a082f
Fix ZIOAppSpec.scala by moving annotation to import statement
promisingcoder Jun 14, 2025
795a684
removed incorrect import
promisingcoder Jun 14, 2025
dc0aa39
removed suppersing warnings
promisingcoder Jun 14, 2025
8a5a93e
Skip JVM-specific tests that require scalac
promisingcoder Jun 14, 2025
cf31d12
Skip scalac execution in ZIOAppSpec while preserving test functionality
promisingcoder Jun 14, 2025
51965ac
removed unused imports
promisingcoder Jun 14, 2025
c65b8ef
skipped compilation for now
promisingcoder Jun 14, 2025
e6f3368
fixed import issue
promisingcoder Jun 14, 2025
c654c12
confused commit
promisingcoder Jun 14, 2025
27a85c4
added new process test utils to shared src test
promisingcoder Jun 14, 2025
be42985
removed additional file to test
promisingcoder Jun 14, 2025
0c2a330
removed unused import
promisingcoder Jun 14, 2025
bdc7ead
modified test apps file
promisingcoder Jun 14, 2025
193d92d
just trying something
promisingcoder Jun 14, 2025
b0c5986
trying something #2
promisingcoder Jun 14, 2025
15789dc
testing something
promisingcoder Jun 14, 2025
b3fa9c2
correctly referenced classes
promisingcoder Jun 14, 2025
b93dd67
correctly referenced additional classes
promisingcoder Jun 14, 2025
bc2cc38
trying something
promisingcoder Jun 14, 2025
df8e9e2
back to original TestApps
promisingcoder Jun 14, 2025
66f80cb
correctly referenced objects
promisingcoder Jun 14, 2025
3d84888
correctly referenced additional objects
promisingcoder Jun 14, 2025
9328f9e
fix(tests): Use fully qualified class names in ZIOApp process tests
promisingcoder Jun 14, 2025
128a2f3
refactor(tests): Unify ZIOAppSpec to use pre-compiled test apps
promisingcoder Jun 14, 2025
4b0c72e
fix(tests): Remove unused compileApp method from ZIOAppSpec
promisingcoder Jun 14, 2025
2bf7e50
fix(tests): Stabilize ZIOApp process tests
promisingcoder Jun 14, 2025
88cdf77
fix(tests): Isolate NestedFinalizersApp to resolve ClassNotFoundExcep…
promisingcoder Jun 14, 2025
ee9ea7b
fix(tests): Isolate more test apps to fix ClassNotFoundExceptions
promisingcoder Jun 14, 2025
ca04c38
fix(tests): Resolve all ClassNotFoundExceptions in process tests
promisingcoder Jun 14, 2025
795a369
fix(tests): Move process tests to JVM-only source set
promisingcoder Jun 14, 2025
b97e758
test(ZIOApp): Add diagnostic test for exit code behavior
promisingcoder Jun 14, 2025
def30ff
test(ZIOApp): Add minimal diagnostic test for exit code
promisingcoder Jun 14, 2025
6772fc6
test(ZIOApp): Add failing test demonstrating interruption bug
promisingcoder Jun 15, 2025
6a04f00
fix(tests): Correct compilation errors in InterruptionBugExample
promisingcoder Jun 15, 2025
457aa40
reverted back a little bit
promisingcoder Jun 15, 2025
856d378
test(ZIOApp): Add minimal test to reproduce interruption bug
promisingcoder Jun 15, 2025
956e49b
reverted back again
promisingcoder Jun 15, 2025
49912b1
Update ZIOApp tests to use correct exit codes (normal: 0, error: 1, S…
promisingcoder Jun 15, 2025
e828db7
removed wrong exit code
promisingcoder Jun 15, 2025
4cd4cae
solved error
promisingcoder Jun 15, 2025
f8b33f9
Fix ZIOApp test exit code issues and improve cross-platform signal ha…
promisingcoder Jun 15, 2025
6cc4e74
Fix System references and syntax errors
promisingcoder Jun 15, 2025
ea48a3b
Fix System references and syntax errors
promisingcoder Jun 15, 2025
4acbdfc
Fix unused variable warnings by using underscore placeholder
promisingcoder Jun 15, 2025
942b269
Update SIGKILL expected exit code from 139 to 137
promisingcoder Jun 15, 2025
3a56adc
Fix remaining SIGKILL exit code reference from 139 to 137
promisingcoder Jun 15, 2025
790cfcf
Add debugging to diagnose gracefulShutdownTimeout configuration test …
promisingcoder Jun 15, 2025
655f077
Fix gracefulShutdownTimeout override in tests to properly respect cus…
promisingcoder Jun 15, 2025
2d04f09
Remove debugging statements to clean up test output
promisingcoder Jun 15, 2025
9ffa2a8
Fix nested finalizers test by adding delay for proper output capture
promisingcoder Jun 15, 2025
8316609
fixed finalizers
promisingcoder Jun 15, 2025
b9a5325
Fix nested finalizers test to match actual runtime behavior
promisingcoder Jun 15, 2025
600e3b0
fixed finalizers
promisingcoder Jun 15, 2025
154f5fa
Fix gracefulShutdownTimeout configuration test in ZIOAppProcessSpec
promisingcoder Jun 15, 2025
bcd824d
added debugging
promisingcoder Jun 15, 2025
97608c6
fixed errors in compilation
promisingcoder Jun 15, 2025
da98d3c
made correct references
promisingcoder Jun 15, 2025
44f67e8
made correct references
promisingcoder Jun 15, 2025
662ef4c
made correct references
promisingcoder Jun 15, 2025
b8d9e75
removed debugging lines
promisingcoder Jun 15, 2025
70ba4f5
fixed more references
promisingcoder Jun 15, 2025
39c8da4
edited exit codes to be the correct ones
promisingcoder Jun 15, 2025
05c8cd3
fixed the SIGTERM test
promisingcoder Jun 15, 2025
3ff87c4
fixed sig kill
promisingcoder Jun 15, 2025
0bdd0fd
added expecting 3 in signal handlers as they are 3
promisingcoder Jun 15, 2025
64de2bb
edited test comment
promisingcoder Jun 15, 2025
7c515e1
fixed sigint
promisingcoder Jun 16, 2025
4547f8d
fixed sigint
promisingcoder Jun 16, 2025
5422226
reverted back
promisingcoder Jun 16, 2025
ced90b7
edited sendSignal
promisingcoder Jun 16, 2025
9f8903c
edited sendSignal
promisingcoder Jun 16, 2025
be9db8e
reverted back
promisingcoder Jun 16, 2025
3367e31
applied fix
promisingcoder Jun 16, 2025
9d7f8fd
reverted back
promisingcoder Jun 16, 2025
719bd47
trying somethings
promisingcoder Jun 16, 2025
61a0702
trying somethings
promisingcoder Jun 16, 2025
a9de2bd
trying somethings
promisingcoder Jun 16, 2025
8569e7c
trying somethings
promisingcoder Jun 16, 2025
0df1b6d
trying somethings
promisingcoder Jun 16, 2025
bb3d35e
trying somethings
promisingcoder Jun 16, 2025
6c3e0fb
added debugging
promisingcoder Jun 16, 2025
b8a7a39
trying something
promisingcoder Jun 16, 2025
9fdbed0
added missing brace
promisingcoder Jun 16, 2025
1145d33
solving errors
promisingcoder Jun 16, 2025
ebe177d
solving errors
promisingcoder Jun 16, 2025
e9821dd
solving errors
promisingcoder Jun 16, 2025
6109326
solving errors
promisingcoder Jun 16, 2025
96ce7c1
testing if the sigint finally works
promisingcoder Jun 16, 2025
5006b7f
fixing errors
promisingcoder Jun 16, 2025
8c0a6a2
formatted files
promisingcoder Jun 16, 2025
b3b0046
modified finalizer in ZIOAppSpec to be correct
promisingcoder Jun 16, 2025
30e50f8
Fix race conditions in ZIOAppSpec tests by waiting for resource acqui…
promisingcoder Jun 16, 2025
b25c4a9
formatted files
promisingcoder Jun 16, 2025
b94674d
Add comprehensive debugging to ZIOApp tests for improved diagnostics …
promisingcoder Jun 17, 2025
d85b83a
Add comprehensive debugging logs to ZIOAppSpec tests for finalizer ve…
promisingcoder Jun 17, 2025
df4db75
reverted back to stable point
promisingcoder Jun 17, 2025
23ca87b
added logging to ZIOAppSpec
promisingcoder Jun 17, 2025
30e8c90
trying something
promisingcoder Jun 17, 2025
0c1ccd9
added debugging to ZIOAppProcessSpec
promisingcoder Jun 17, 2025
44f684e
trying something
promisingcoder Jun 17, 2025
2eb945e
Revert back to b25c4a9 (where I formatted files)
promisingcoder Jun 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
0