Closed shtripat closed 5 months ago
The j and i look same value what is this trying to fix?
In case of failure we are not decrementing j
whereas we are decrementing i
. So say out of 5 one test failed so output would look like
(1/5) Running aws-sdk-go tests ... FAILED in 1 seconds
{
"alert": "",
"args": {
"bucketName": "aws-sdk-go-test-b2096g61owmgun",
"objectName": "csky42rbyqt0bzoc2oie94jbp3d3uz"
},
"duration": 99,
"function": "testListMultipartUploads",
"message": "AWS SDK Go ListParts.Parts len mismatch want: 5 got: 4",
"name": "aws-sdk-go",
"status": "FAIL"
}
(2/5) Running aws-sdk-java tests ... done in 1 seconds
(3/5) Running aws-sdk-java-v2 tests ... done in 2 seconds
(4/5) Running aws-sdk-php tests ... done in 41 seconds
(5/5) Running aws-sdk-ruby tests ... done 5 seconds
Executed 4 out of 5 tests successfully.
without fix it would like
(1/5) Running aws-sdk-go tests ... FAILED in 1 seconds
{
"alert": "",
"args": {
"bucketName": "aws-sdk-go-test-b2096g61owmgun",
"objectName": "csky42rbyqt0bzoc2oie94jbp3d3uz"
},
"duration": 99,
"function": "testListMultipartUploads",
"message": "AWS SDK Go ListParts.Parts len mismatch want: 5 got: 4",
"name": "aws-sdk-go",
"status": "FAIL"
}
(1/5) Running aws-sdk-java tests ... done in 1 seconds
(2/5) Running aws-sdk-java-v2 tests ... done in 2 seconds
(3/5) Running aws-sdk-php tests ... done in 41 seconds
(4/5) Running aws-sdk-ruby tests ... done 5 seconds
Executed 4 out of 5 tests successfully.
This is small fix to correct the currently running test no out of total tests.
okay
If a test fails the counter gets decremented for currently running test as below