Community
Participate
Working Groups
Tests should run against the latest available releases of JIRA. As part of this a JIRA 3.7 repository should be installed which is the earliest JIRA version that is officially supported.
Created attachment 148374 [details] patch v1 ...necessary changes to test constants and fixture
Created attachment 148375 [details] mylyn/context/zip
I have not been able to fix the following failing tests: *Headless Standalone Tests for org.eclipse.mylyn.jira.tests* *org.eclipse.mylyn.jira.tests.client.JiraClientOfflineTest* testGetWorklogsUnsupportedVersion(org.eclipse.mylyn.jira.tests.client.JiraClientOfflineTest) org.eclipse.mylyn.internal.jira.core.service.JiraServiceUnavailableException: Protocol violation: Unexpected single newline character in chunk size *Testing on JIRA 4.0.0-Beta2/Enterprise* *org.eclipse.mylyn.jira.tests.client.JiraClientTest* testLogin(org.eclipse.mylyn.jira.tests.client.JiraClientTest) org.eclipse.mylyn.internal.jira.core.service.JiraServiceUnavailableException: Server error: (400)No Host matches server name mylyn.eclipse.org testBasicAuth(org.eclipse.mylyn.jira.tests.client.JiraClientTest) org.eclipse.mylyn.internal.jira.core.service.JiraServiceUnavailableException: Server error: (400)No Host matches server name mylyn.eclipse.org *org.eclipse.mylyn.jira.tests.core.JiraClientFactoryTest* testCharacterEncoding(org.eclipse.mylyn.jira.tests.core.JiraClientFactoryTest) org.eclipse.mylyn.internal.jira.core.service.JiraServiceUnavailableException: Server error: (400)No Host matches server name mylyn.eclipse.org *org.eclipse.mylyn.jira.tests.core.JiraStackTraceDuplicateDetectorTest* testStackTraceInDescription(org.eclipse.mylyn.jira.tests.core.JiraStackTraceDuplicateDetectorTest) junit.framework.AssertionFailedError: Expected duplicated task 21890 : PRONE-9049 testStackTraceInComment(org.eclipse.mylyn.jira.tests.core.JiraStackTraceDuplicateDetectorTest) junit.framework.AssertionFailedError: Expected duplicated task 21891 : PRONE-9050 *Testing on JIRA 3.13.5/Enterprise* *org.eclipse.mylyn.jira.tests.core.JiraFilterTest* testCustomQueryWrongDatePattern(org.eclipse.mylyn.jira.tests.core.JiraFilterTest) junit.framework.AssertionFailedError: expected:<Status OK: org.eclipse.core.runtime code=0 OK null> but was:<Status ERROR: org.eclipse.mylyn.internal.jira.core code=1 Unexpected result code 400 while running query: http://mylyn.eclipse.org/jira-enterprise-3.13.5/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?decorator=none&reset=true&tempMax=5000&&created:after=01%2FOkt%2F08&created:before=01%2FOkt%2F08 null> *Testing on JIRA 4.0.0-Beta2/Enterprise* *org.eclipse.mylyn.jira.tests.core.JiraFilterTest* testCustomQueryWrongDatePattern(org.eclipse.mylyn.jira.tests.core.JiraFilterTest) junit.framework.AssertionFailedError: expected:<Status OK: org.eclipse.core.runtime code=0 OK null> but was:<Status ERROR: org.eclipse.mylyn.internal.jira.core code=1 Unexpected result code 400 while running query: http://mylyn.eclipse.org/jira-enterprise-4.0.0/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?decorator=none&reset=true&tempMax=5000&&created:after=01%2FOkt%2F08&created:before=01%2FOkt%2F08 null>
Thanks Thomas. I have updated the server urls. You may need to reinitialize the search indices to get the search tests working again. I am not sure about the 400 errors, I haven't seen those before but it could be something with the repository setup that's causing the failures.