microceph icon indicating copy to clipboard operation
microceph copied to clipboard

Added extensible framework for Automated API testing.

Open UtkarshBhatthere opened this issue 1 year ago • 0 comments

$ sudo python3 ./microtester.py ./testsuite/ --sock="/var/snap/microceph/common/state/control.socket"
Validating Testsuite: disks.yaml
Executing Test Check OSD count
Validation Result: Total: 2, Pass: 2, Fail: 0. 

Executing Test Add 3 file based OSDs
Validation Result: Total: 2, Pass: 2, Fail: 0. 

Executing Test Delete OSD 1
Validation Result: Total: 1, Pass: 1, Fail: 0. 

Executing Test Add another OSD
Validation Result: Total: 1, Pass: 1, Fail: 0. 

Executing Test Check OSD count
Validation Result: Total: 2, Pass: 2, Fail: 0. 

Validating Testsuite: log-level.yaml
Executing Test Set log level
Validation Result: Total: 1, Pass: 1, Fail: 0. 

Executing Test Get log level
Validation Result: Total: 2, Pass: 2, Fail: 0. 

UtkarshBhatthere avatar Mar 06 '24 00:03 UtkarshBhatthere