# RE: Need to know complete execution time for geode-core Junit tests

Thanks Darrel It works on Linux.
But there I see another failure:

:geode-core:distributedTest

org.apache.geode.internal.cache.FixedPRSinglehopDUnitTest >
java.lang.AssertionError: bucket 3 was incorrect expected:<20189> but
was:<29785>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at

Which all test are part of Geode CI .  only Junit ? or Integration ?
distributedTest?

Thanks,
Dinesh Akhand

-----Original Message-----
From: Darrel Schneider [mailto:dschnei...@pivotal.io]
Sent: Monday, August 7, 2017 9:59 PM
To: dev@geode.apache.org
Subject: Re: Need to know complete execution time for geode-core Junit tests

For test004StartServerFailsFastOnMissingGemFirePropertiesFile I think this test
just needs to be improved for Windows.
The test has an assertion that the failure message contains a certain string.
On Windows the message contains "C:" and "\" which the test does not expect.
Instead of the test treating "cacheXmlPathName" as a constant I think it should
create an instance of File using cacheXmlPathName and then make sure the
message contains the result of calling getAbsolutePath on that File.

On Sun, Aug 6, 2017 at 11:54 PM, Dinesh Akhand <dines...@amdocs.com> wrote:

> Hi Team,
>
> When we are running test on windows : we are getting below error We
>
>
> rg.apache.geode.management.internal.cli.commands.
> LauncherLifecycleCommandsDUnitTest >
> test003StartServerFailsFastOnMissingCacheXmlFile
> FAILED
>     java.lang.AssertionError:
>     Warning: The Geode cache XML file C:\path\to\missing\cache.xml
> could not be found.
>
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.assertTrue(Assert.java:41)
>         at org.apache.geode.management.internal.cli.commands.
> LauncherLifecycleCommandsDUnitTest.test003StartServerFailsFastOnM
> issingCacheXmlFile(LauncherLifecycleCommandsDUnitTest.java:502)
>
> org.apache.geode.management.internal.cli.commands.
> LauncherLifecycleCommandsDUnitTest >
> test004StartServerFailsFastOnMissingGemFirePropertiesFile
> FAILED
>     java.lang.AssertionError:
>     Warning: The Geode properties file
> C:\path\to\missing\gemfire.properties
> could not be found.
>
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.assertTrue(Assert.java:41)
>         at
>
> Is there any path we need to set in windows to make it run.
>
> Thanks,
> Dinesh Akhand
>
>
>
>
>
>
>
>
>
>
>
>     ------------------------------------------------------------
> -----------
>     Found suspect string in log4j at line 546
>
> -----Original Message-----
> From: Dan Smith [mailto:dsm...@pivotal.io]
> Sent: Tuesday, July 25, 2017 9:59 PM
> To: dev@geode.apache.org
> Subject: Re: Need to know complete execution time for geode-core Junit
> tests
>
> What target are you running? It's a bit confusing because there are
> actually 3 different sets of tests. These times a really rough because
> I don't have a good run in front of me, but this should give you an idea.
>
> "True" unit tests, runs in 1-2 minutes like Jens Said:
>
> Single VM integration tests - runs in maybe 1.5 hours:
>
> Multiple VM integration tests - runs in maybe 5 hours?
>
> Run all of the tests
>
> -Dan
>
> On Tue, Jul 25, 2017 at 8:34 AM, Anthony Baker <aba...@pivotal.io> wrote:
>
> > You might want to get a few thread dumps to see if there is a hung test.
> > Also, make sure you have sufficient RAM.
> >
> > Anthony
> >
> > > On Jul 25, 2017, at 1:13 AM, Dinesh Akhand <dines...@amdocs.com>
> wrote:
> > >
> > > Hi Team,
> > >
> > > I trigger the geode-core Junit tests . it keeping running from
> > > last
> > > 3
> > hour.
> > > Can you please let me know how much time it take completion of
> > > Junit
> > test in Geode-core.
> > > I am using geode 1.1.1
> > >
> > >
> > > Thanks,
> > > Dinesh Akhand
> > > This message and the information contained herein is proprietary
> > > and
> > confidential and subject to the Amdocs policy statement,
> > >
> > > you may review at https://www.amdocs.com/about/email-disclaimer <
> >
> >
> This message and the information contained herein is proprietary and
> confidential and subject to the Amdocs policy statement,
>
> you may review at https://www.amdocs.com/about/email-disclaimer <