Re: Seeing issues with unit tests

2023-04-10 Thread Katie Liu
Can you try setting the Java version to Java 8? Not sure if it will help. On Mon, Apr 10, 2023 at 5:58 PM Siddharth Pandey wrote: > Sure! > I was using ./gradlew test while trying to run the unit tests. > > sipandey-mn1:samza sipandey$ echo $JAVA_HOME > > does not seem to return anything. Howeve

Re: Seeing issues with unit tests

2023-04-10 Thread Siddharth Pandey
Sure! I was using ./gradlew test while trying to run the unit tests. sipandey-mn1:samza sipandey$ echo $JAVA_HOME does not seem to return anything. However, java --version returns the following - sipandey-mn1:samza sipandey$ java --version openjdk 17.0.5 2022-10-18 LTS OpenJDK Runtime Environmen

Re: Seeing issues with unit tests

2023-04-09 Thread Katie Liu
Hi Siddharth, Can you share what commands you are using to build beam? And also share your Java versions? For example echo $JAVA_HOME? Thanks, Katie On Sun, Apr 9, 2023 at 4:52 AM Siddharth Pandey wrote: > Apologies, I forgot to introduce myself :) > > I am Siddharth, I have been working at Li

Re: Seeing issues with unit tests

2023-04-09 Thread Siddharth Pandey
Apologies, I forgot to introduce myself :) I am Siddharth, I have been working at LinkedIn for around a year now and have been using Samza for one of my projects at work, which got me interested in wanting to learn more about the codebase and how it all works under the hood. Would also appreciate

Re: Seeing issues with unit tests

2023-04-09 Thread Siddharth Pandey
I can try making the constructors public but wanted to check how have you all been running these successfully? Othe category of error is this. Can you tell me how to fix this? Class org.apache.samza.system.descriptors.examples.serde.ExampleSimpleInputDescriptor all <../index.html> > org.apache.sa

Seeing issues with unit tests

2023-04-09 Thread Siddharth Pandey
Hi everyone, I am seeing following issue when trying to run unit tests java.lang.Exception: Test class should have exactly one public constructor at org.junit.runners.BlockJUnit4ClassRunner.validateOnlyOneConstructor(BlockJUnit4ClassRunner.java:158) at org.junit.runners.BlockJUn