Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration Test does not working any more with last change on master #89

Closed
j0nathan33 opened this issue Jun 6, 2017 · 1 comment
Closed
Assignees
Labels
Milestone

Comments

@j0nathan33
Copy link
Contributor

j0nathan33 commented Jun 6, 2017

I run this command in my IDE : "gradlew integTest". After that, I check in the report and I have this error :

java.lang.AssertionError:
Expecting:
false
to be equal to:
true
but was not.
at com.cdancy.bitbucket.rest.BaseBitbucketApiLiveTest.initGeneratedTestContents(BaseBitbucketApiLiveTest.java:186)
at com.cdancy.bitbucket.rest.features.BranchApiLiveTest.init(BranchApiLiveTest.java:60)
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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:523)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:224)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:146)
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:166)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:105)
at org.testng.TestRunner.privateRun(TestRunner.java:744)
at org.testng.TestRunner.run(TestRunner.java:602)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
at org.testng.TestNG.runSuites(TestNG.java:1144)
at org.testng.TestNG.run(TestNG.java:1115)
at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:129)
at org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:88)
at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:61)
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.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
at com.sun.proxy.$Proxy2.stop(Unknown Source)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.stop(TestWorker.java:120)
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.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:147)
at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:129)
at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

j0nathan33 pushed a commit to j0nathan33/bitbucket-rest that referenced this issue Jun 6, 2017
cdancy pushed a commit that referenced this issue Jun 6, 2017
@cdancy cdancy self-assigned this Jun 6, 2017
@cdancy cdancy added the bug label Jun 6, 2017
@cdancy cdancy added this to the v0.9.0 milestone Jun 6, 2017
@cdancy
Copy link
Owner

cdancy commented Jun 6, 2017

Fix has been merged.

@cdancy cdancy closed this as completed Jun 6, 2017
cdancy pushed a commit that referenced this issue Jun 6, 2017
* First commit of default reviewers

* Rename Conditions to condition

* Add mock test

* Add live Test

* Fix build

* Add more test for branchApiLiveTest

* Add Fallback for Condition

* Update Object Condition for add ErrorsHolder

* Add rest api for create Condition

* Edit MatcherId to add new value

* Add live test

* Add mock Test

* Fix junit

* Fix build

* Fix build

* Add annotation Documentation for listConditions

* Add annotation Documentation for createCondition

* Add missing annotation

* Refactore test after change from master branch

* Refactore test after change from master branch

* fix build

* Fix build

* Edit code after codeReview from another PR (List defaultReviewers)

* Fix code after codeReview

* Fix issues #89

* Rename test class

* Add field to get conditionId for next Step

* Add live test to get listConditions

* Change HardCode User to defaultUser

* Edit code after codeReview

* Remove test dependency don't need anymore
cdancy pushed a commit that referenced this issue Jun 6, 2017
* First commit of default reviewers

* Rename Conditions to condition

* Add mock test

* Add live Test

* Fix build

* Add more test for branchApiLiveTest

* Add Fallback for Condition

* Update Object Condition for add ErrorsHolder

* Add rest api for create Condition

* Edit MatcherId to add new value

* Add live test

* Add mock Test

* Fix junit

* Fix build

* Add endpoint for Condition update

* Add liveTest

* Add mock Test

* Fix build

* Fix build

* Add annotation Documentation for listConditions

* Add annotation Documentation for createCondition

* Add annotation Documentation for updateCondition

* Add missing annotation

* Refactore test after change from master branch

* Refactore test after change from master branch

* fix build

* Fix build

* Fix build

* Edit code after codeReview from another PR (List defaultReviewers)

* Fix code after codeReview

* Fix issues #89

* Rename test class

* Add field to get conditionId for next Step

* Add live test to get listConditions

* Change HardCode User to defaultUser

* Fix build

* Edit code after codeReviews from another PR

* Edit code after codeReview

* Remove test dependency don't need anymore
cdancy added a commit that referenced this issue Jun 6, 2017
* First commit of default reviewers

* Rename Conditions to condition

* Add mock test

* Add live Test

* Fix build

* Add more test for branchApiLiveTest

* Add Fallback for Condition

* Update Object Condition for add ErrorsHolder

* Add rest api for create Condition

* Edit MatcherId to add new value

* Add live test

* Add mock Test

* Fix junit

* Fix build

* Add endpoint for Condition update

* Add liveTest

* Add mock Test

* Fix build

* Add endpoint for delete Condition

* Add live Test

* Fix build

* Fix build

* Add mock Test

* Add annotation Documentation for listConditions

* Add annotation Documentation for createCondition

* Add annotation Documentation for updateCondition

* Add annotation Documentation for deleteCondition

* Add missing annotation

* Fix build

* Refactore test after change from master branch

* Refactore test after change from master branch

* fix build

* Fix build

* Fix build

* Fix build

* Edit code after codeReview from another PR (List defaultReviewers)

* Fix code after codeReview

* Fix issues #89

* Rename test class

* Add field to get conditionId for next Step

* Add live test to get listConditions

* Change HardCode User to defaultUser

* Fix build

* Fix build

* Edit code after codeReviews from another PR

* Edit code after codeReviews from another PR

* Edit code after codeReview

* Remove test dependency don't need anymore

* Edit rest named for deleteCondition

* Fixes for PR-#84
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants