Skip to content

#1227 - Handling hard delete data from Sample Data (#1252)

Sign in for the full log view
GitHub Actions / Search-Service-Unit-Test-Results succeeded Nov 11, 2024 in 0s

21 passed, 0 failed and 2 skipped

Tests passed successfully

Report Passed Failed Skipped Time
search/target/failsafe-reports/TEST-com.yas.search.controller.ProductControllerIT.xml 3✅ 104s
search/target/surefire-reports/TEST-com.yas.search.consumer.ProductSyncDataConsumerTest.xml 2✅ 1⚪ 10ms
search/target/surefire-reports/TEST-com.yas.search.controller.ProductControllerTest.xml 2✅ 572ms
search/target/surefire-reports/TEST-com.yas.search.kafka.ProductCdcConsumerTest.xml 4✅ 94s
search/target/surefire-reports/TEST-com.yas.search.service.ProductServiceTest.xml 4✅ 449ms
search/target/surefire-reports/TEST-com.yas.search.service.ProductSyncDataServiceTest.xml 6✅ 1⚪ 276ms

✅ search/target/failsafe-reports/TEST-com.yas.search.controller.ProductControllerIT.xml

3 tests were completed in 104s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.search.controller.ProductControllerIT 3✅ 104s

✅ com.yas.search.controller.ProductControllerIT

✅ test_findProductAdvance_shouldNotReturnAnyProduct
✅ test_productSearchAutoComplete_shouldReturnSuccessfully
✅ test_findProductAdvance_shouldReturnSuccessfully

✅ search/target/surefire-reports/TEST-com.yas.search.consumer.ProductSyncDataConsumerTest.xml

3 tests were completed in 10ms with 2 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
com.yas.search.consumer.ProductSyncDataConsumerTest 2✅ 1⚪ 10ms

✅ com.yas.search.consumer.ProductSyncDataConsumerTest

✅ testSync_whenUpdateAction_updateProduct
⚪ testSync_whenDeleteAction_deleteProduct
✅ testSync_whenCreateAction_createProduct

✅ search/target/surefire-reports/TEST-com.yas.search.controller.ProductControllerTest.xml

2 tests were completed in 572ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.search.controller.ProductControllerTest 2✅ 572ms

✅ com.yas.search.controller.ProductControllerTest

✅ testFindProductAdvance_whenProductListIsExists_thenReturnProductListGetVm
✅ testProductSearchAutoComplete_whenProductNameList_thenReturnProductNameListVm

✅ search/target/surefire-reports/TEST-com.yas.search.kafka.ProductCdcConsumerTest.xml

4 tests were completed in 94s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.search.kafka.ProductCdcConsumerTest 4✅ 94s

✅ com.yas.search.kafka.ProductCdcConsumerTest

✅ test_whenHavingCreateEvent_thenProcessFailed_shouldPerformRetry
✅ test_whenHavingDeleteEvent_shouldSyncAsDelete
✅ test_whenHavingUpdateEvent_shouldSyncAsUpdate
✅ test_whenHavingCreateEvent_shouldSyncAsCreate

✅ search/target/surefire-reports/TEST-com.yas.search.service.ProductServiceTest.xml

4 tests were completed in 449ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.search.service.ProductServiceTest 4✅ 449ms

✅ com.yas.search.service.ProductServiceTest

✅ testFindProductAdvance_whenSortTypeIsDefault_ReturnProductListGetVm
✅ testAutoCompleteProductName_whenExistsProducts_returnProductNameListVm
✅ testFindProductAdvance_whenSortTypeIsPriceAsc_ReturnProductListGetVm
✅ testFindProductAdvance_whenSortTypeIsPriceDesc_ReturnProductListGetVm

✅ search/target/surefire-reports/TEST-com.yas.search.service.ProductSyncDataServiceTest.xml

7 tests were completed in 276ms with 6 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
com.yas.search.service.ProductSyncDataServiceTest 6✅ 1⚪ 276ms

✅ com.yas.search.service.ProductSyncDataServiceTest

✅ updateProduct_whenProductExists_updatesProductAndSaves
✅ testGetProductEsDetailById_whenNormalCase_returnProductEsDetailVm
✅ testCreateProduct_whenNormalCase_createsAndSavesProduct
✅ testUpdateProduct_whenProductDoesNotExist_throwsNotFoundException
⚪ testDeleteProduct_whenProductDoesNotExist_throwsNotFoundException
✅ updateProductNotPublished_whenProductExists_deleteProduct
✅ testDeleteProduct_whenProductExists_deletesProduct