You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hudi.apache.org by Sivabalan <n....@gmail.com> on 2020/02/08 17:56:34 UTC

Repro travis CI build locally by filtering for an individual test/package

Hi folks,
      A question about trying to reproduce travis CI build locally. one of
my PR's build is failing. when I run my tests from within intellij, all
tests succeed. if I execute "./scripts/run_travis_tests.sh unit" I could
reproduce the error, but this will run entire test suite. On the other
hand, if I filter out a single test class, "mvn -DfailIfNoTests=false
-Dtest=TestInMemoryFileSystem test", test succeeds. any idea or pointers on
how can I go about reproducing this to investigate further. I don't want to
run entire test suite everytime during my investigation.

-- 
Regards,
-Sivabalan

Re: Repro travis CI build locally by filtering for an individual test/package

Posted by Vinoth Chandar <vi...@apache.org>.
Hi Siva,

This kind of failure usually happens when some resources left around by
this test you are excluding, affects the next? If you only see it, when run
together with other tests, I don't know if you can actually debug it in
isolation.

what's the error? May be we can start from there (here or you can mention
on the PR itself)

Thanks
VInoth

On Sat, Feb 8, 2020 at 9:56 AM Sivabalan <n....@gmail.com> wrote:

> Hi folks,
>       A question about trying to reproduce travis CI build locally. one of
> my PR's build is failing. when I run my tests from within intellij, all
> tests succeed. if I execute "./scripts/run_travis_tests.sh unit" I could
> reproduce the error, but this will run entire test suite. On the other
> hand, if I filter out a single test class, "mvn -DfailIfNoTests=false
> -Dtest=TestInMemoryFileSystem test", test succeeds. any idea or pointers on
> how can I go about reproducing this to investigate further. I don't want to
> run entire test suite everytime during my investigation.
>
> --
> Regards,
> -Sivabalan
>