nashtech-garage / yas

YAS: Yet Another Shop, a sample microservices project in Java
MIT License
1.61k stars 419 forks source link

[Recommendation] Integration test failure #1277

Open minhtridn2001 opened 1 week ago

minhtridn2001 commented 1 week ago

The integration test for the Recommendation service is failing due to a recent change made in the Common Library service.

Error:  COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
Error:  /home/runner/work/yas/yas/recommendation/src/it/java/com/yas/recommendation/kafka/ProductCdcConsumerTest.java:[56,60] wrong number of type arguments; required 2
Error:  /home/runner/work/yas/yas/recommendation/src/it/java/com/yas/recommendation/kafka/ProductCdcConsumerTest.java:[98,9] cannot find symbol
  symbol:   method waitForConsumer(int,int,int,int)
  location: class com.yas.recommendation.kafka.ProductCdcConsumerTest
Error:  /home/runner/work/yas/yas/recommendation/src/it/java/com/yas/recommendation/kafka/ProductCdcConsumerTest.java:[123,9] cannot find symbol
  symbol:   method simulateHttpRequestWithError(java.net.URI,java.lang.RuntimeException,java.lang.Class<com.yas.recommendation.viewmodel.ProductDetailVm>)
  location: class com.yas.recommendation.kafka.ProductCdcConsumerTest
Error:  /home/runner/work/yas/yas/recommendation/src/it/java/com/yas/recommendation/kafka/ProductCdcConsumerTest.java:[126,9] cannot find symbol
  symbol:   method sendMsg(com.yas.commonlibrary.kafka.cdc.message.ProductCdcMessage)
  location: class com.yas.recommendation.kafka.ProductCdcConsumerTest
Error:  /home/runner/work/yas/yas/recommendation/src/it/java/com/yas/recommendation/kafka/ProductCdcConsumerTest.java:[132,9] cannot find symbol
...