asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Blow (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ASTERIXDB-1769) [asterix-app] runtimets/queries/api/version_1 test assumes execution within Git tree
Date Thu, 19 Jan 2017 17:26:26 GMT
Michael Blow created ASTERIXDB-1769:
---------------------------------------

             Summary: [asterix-app] runtimets/queries/api/version_1 test assumes execution
within Git tree
                 Key: ASTERIXDB-1769
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1769
             Project: Apache AsterixDB
          Issue Type: Test
          Components: AsterixDB
            Reporter: Michael Blow


When running 'mvn package' from an extracted source assembly, the following test failure occurs,
due to an assumption that AsterixDB is built from a Git tree:

testFile src/test/resources/runtimets/queries/api/version_1/version_1.1.get.http raised an
exception: java.lang.Exception: Result for src/test/resources/runtimets/queries/api/version_1/version_1.1.get.http:
expected pattern '"git.build.version"' not found in result.
java.lang.Exception: Result for src/test/resources/runtimets/queries/api/version_1/version_1.1.get.http:
expected pattern '"git.build.version"' not found in result.
	at org.apache.asterix.test.aql.TestExecutor.runScriptAndCompareWithResultRegex(TestExecutor.java:355)
	at org.apache.asterix.test.aql.TestExecutor.runScriptAndCompareWithResult(TestExecutor.java:147)
	at org.apache.asterix.test.aql.TestExecutor.executeTest(TestExecutor.java:955)
	at org.apache.asterix.test.aql.TestExecutor.executeTest(TestExecutor.java:1086)
	at org.apache.asterix.test.runtime.LangExecutionUtil.test(LangExecutionUtil.java:102)
	at org.apache.asterix.test.runtime.AqlExecutionTest.test(AqlExecutionTest.java:62)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:27)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
...Unexpected!




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message