action #110689
closedcoordination #103323: [epic] BCI testing
BCI test improvement for openjdk images
0%
Description
There are 4 openjdk images:
- openjdk_11
- openjdk-devel_11
- openjdk_17
- openjdk-devel_17
The tests are in
https://github.com/SUSE/BCI-tests/blob/main/tests/test_openjdk.py
https://github.com/SUSE/BCI-tests/blob/main/tests/test_openjdk_devel.py
and they are very basic. It would be nice to explore what else can be done with these containers and write a more extensive test.
Acceptance Criteria¶
- AC 1 System module (https://docs.oracle.com/javase/7/docs/api/java/lang/System.html)
- AC 2 Test memory (using -Xmx512m) & Garbage collector (https://www.javatpoint.com/post/java-system-gc-method and https://www.javatpoint.com/memory-management-in-java)
- AC 3 Test time (https://www.javatpoint.com/post/java-system-nanotime-method)
- AC 4 Test File Handling
- AC 5 Test threading
- AC 6 Test sub-processes
- AC 7
Test recursion level - AC 8 Java compile (https://www.javatpoint.com/how-to-compile-and-run-java-program)
Checklist
- AC 1 - System module
- AC 2 - Test memory
- AC 3 - Time
- AC 4 - Files
- AC5 - Threading
- AC6 - subprocesses
- AC8 - java compile
Updated by jlausuch about 2 years ago
For now, I have enabled openjdk-17 in the bot and we need to adapt the tests to run them also on that image (they were only enabled for version 11)
https://github.com/SUSE/BCI-tests/pull/114
Updated by ilausuch about 2 years ago
- Status changed from Workable to In Progress
- Assignee set to ilausuch
Updated by ilausuch about 2 years ago
Basic infraestructure and AC5: https://github.com/SUSE/BCI-tests/pull/146
Updated by dancermak almost 2 years ago
Wouldn't it make sense to compile a big java application and test its functionality instead of writing custom tests for these individual modules?
Updated by ilausuch almost 2 years ago
Under review:
AC4 files: https://github.com/SUSE/BCI-tests/pull/151
AC3 timing: https://github.com/SUSE/BCI-tests/pull/152
Updated by ilausuch almost 2 years ago
- Checklist item AC 1 - System module added
- Checklist item AC 2 - Test memory added
- Checklist item AC 3 - Time added
- Checklist item AC 4 - Files added
- Checklist item AC5 - Threading added
- Checklist item AC6 - subprocesses added
- Checklist item AC7 - recursion added
- Checklist item AC8 - java compile added
- Description updated (diff)
Updated by ilausuch almost 2 years ago
Under review
AC8 compile https://github.com/SUSE/BCI-tests/pull/154
AC2 memory https://github.com/SUSE/BCI-tests/pull/156
Updated by ilausuch almost 2 years ago
- Checklist item AC 3 - Time set to Done
- Checklist item AC 4 - Files set to Done
Updated by ilausuch almost 2 years ago
- Checklist item AC8 - java compile set to Done
Updated by ilausuch almost 2 years ago
- Checklist item AC 2 - Test memory set to Done
Updated by ilausuch almost 2 years ago
Under review
AC1 - System module https://github.com/SUSE/BCI-tests/pull/157
AC6 - Subprocesses https://github.com/SUSE/BCI-tests/pull/158
Updated by ilausuch almost 2 years ago
- Checklist item deleted (
AC7 - recursion) - Description updated (diff)
Updated by ilausuch almost 2 years ago
We decided to stop with the current PR are one. So AC 7 is not a AC any more
Updated by ilausuch almost 2 years ago
- Checklist item AC 1 - System module set to Done
Updated by ilausuch almost 2 years ago
- Checklist item AC6 - subprocesses set to Done
All AC covered and PR merged
Updated by ilausuch almost 2 years ago
- Status changed from In Progress to Resolved