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

Tests fail on jenkins #152

Closed
sta-szek opened this issue Dec 17, 2016 · 0 comments
Closed

Tests fail on jenkins #152

sta-szek opened this issue Dec 17, 2016 · 0 comments
Assignees
Labels
Milestone

Comments

@sta-szek
Copy link
Owner

One test is failing when running on jenkins.
Problem might be with assertj's is(condition) method. Jenkins tries to compare ClassAndFieldPredicatePair to ClassAndFieldPredicatePairCondition class.

It seems that is(...) method works on jenkins as isInstanceOf(...)

Test does not fail locally, on teamcity and travis.

Failures (1):
  JUnit Jupiter:AssertionsTest:Should_Create_Expected_Multi_Class_Assertion_Using_Package()
    MethodSource [className = 'pl.pojo.tester.api.assertion.AssertionsTest', methodName = 'Should_Create_Expected_Multi_Class_Assertion_Using_Package', methodParameterTypes = '']
    => java.lang.AssertionError: 
Expecting:
 <pl.pojo.tester.api.ClassAndFieldPredicatePair@3f49e266>
to be <ClassAndFieldPredicatePairCondition>

Test run finished after 5086 ms
[       163 containers found      ]
[         0 containers skipped    ]
[       163 containers started    ]
[         0 containers aborted    ]
[       163 containers successful ]
[         0 containers failed     ]
[       911 tests found           ]
[         0 tests skipped         ]
[       911 tests started         ]
[         0 tests aborted         ]
[       910 tests successful      ]
[         1 tests failed          ]

:junitPlatformTest FAILED
@sta-szek sta-szek modified the milestone: 0.7.2 Dec 17, 2016
@sta-szek sta-szek added the bug label Dec 17, 2016
@sta-szek sta-szek self-assigned this Dec 17, 2016
sta-szek pushed a commit that referenced this issue Dec 17, 2016
sta-szek pushed a commit that referenced this issue Dec 17, 2016
sta-szek pushed a commit that referenced this issue Dec 17, 2016
sta-szek pushed a commit that referenced this issue Dec 17, 2016
sta-szek pushed a commit that referenced this issue Dec 17, 2016
sta-szek pushed a commit that referenced this issue Dec 17, 2016
sta-szek pushed a commit that referenced this issue Dec 17, 2016
sta-szek pushed a commit that referenced this issue Dec 17, 2016
sta-szek pushed a commit that referenced this issue Dec 17, 2016
sta-szek pushed a commit that referenced this issue Dec 20, 2016
sta-szek pushed a commit that referenced this issue Dec 20, 2016
sta-szek pushed a commit that referenced this issue Dec 20, 2016
sta-szek pushed a commit that referenced this issue Dec 20, 2016
sta-szek pushed a commit that referenced this issue Dec 20, 2016
sta-szek pushed a commit that referenced this issue Dec 20, 2016
sta-szek pushed a commit that referenced this issue Dec 20, 2016
sta-szek pushed a commit that referenced this issue Dec 20, 2016
sta-szek pushed a commit that referenced this issue Dec 20, 2016
sta-szek pushed a commit that referenced this issue Dec 20, 2016
sta-szek pushed a commit that referenced this issue Dec 20, 2016
sta-szek pushed a commit that referenced this issue Dec 20, 2016
sta-szek pushed a commit that referenced this issue Dec 20, 2016
sta-szek pushed a commit that referenced this issue Dec 20, 2016
sta-szek pushed a commit that referenced this issue Dec 20, 2016
* #152. Update jenkinsfile

* #152. Update jenkinsfile

* #152. Update jenkinsfile

* #152. Update jenkinsfile

* #152. Update libraries

* #152. Changed is to has in assertj assertion

* #152. Changed jenkinsfile

* #152. Changed jenkinsfile

* #152. Ignore test

* #152. Comment test

* #152. Uncomment test

* #152. Single test refactor

* #152. Change list to lineked list

* #152. Change order in tests

* #152. Rever order again

* #152. Refactor tests

* #152. Refactor tests

* #152. Refactor tests

* #152. Single assetion refactor

* #152. Single assetion refactor

* #152. Single assetion refactor

* #152. Single assetion refactor

* #152. Add testclasses to assemble step and reformat Jenkinsfile
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

1 participant