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

Test suite is failing in trunk and 3.2.0 release #37

Closed
GoogleCodeExporter opened this issue Apr 14, 2015 · 7 comments
Closed

Test suite is failing in trunk and 3.2.0 release #37

GoogleCodeExporter opened this issue Apr 14, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link

I'd like to fix an issue I am seeing with this project and would be happy
to write a test to reproduce and fix the problem. However, my checkout of
the 3.2.0 release is failing with:

Tests run: 220, Failures: 1, Errors: 22, Skipped: 0


What steps will reproduce the problem?
1. Check out http://urlrewritefilter.googlecode.com/svn/tags/3.2.0
2. mvn install

Is this the right way to test and build the project? I did not see a guide
to building and testing.

Original issue reported on code.google.com by alon.car...@gmail.com on 26 May 2009 at 9:31

@GoogleCodeExporter
Copy link
Author

alon, can you please verify this once again? It works for me on a clean 
check-out.

Original comment by avl...@gmail.com on 6 Jan 2010 at 6:15

@GoogleCodeExporter
Copy link
Author

Still failing for me:

  Tests run: 220, Failures: 1, Errors: 22, Skipped: 0

My Steps:

  Clean checkout of http://urlrewritefilter.googlecode.com/svn/tags/3.2.0
  Removed ~/.m2/repository/org/tuckey/urlrewritefilter/3.2.0/
  mvn install

I am on OS X with Java version 1.5.0_20.

Attached are the surefire text reports.


Original comment by alon.car...@gmail.com on 6 Jan 2010 at 6:31

Attachments:

@GoogleCodeExporter
Copy link
Author

Can you please try with your servlet container listening on port 8080?

Original comment by avl...@gmail.com on 6 Jan 2010 at 7:04

@GoogleCodeExporter
Copy link
Author

I'm not sure I understand the last request. Any servlet container running on 
port
8080? Or is there a task I need to run as part of the checked out project to 
start a
servlet container for the tests?

I started a Jetty instance on 8080 and reran the build and get slightly 
different
results:

Failed tests: 
  testLoadsOfRules(org.tuckey.web.filters.urlrewrite.UrlRewriterTest)
  testProduct(org.tuckey.web.filters.urlrewriteviacontainer.WebappHttpTest)
  testBasicSets(org.tuckey.web.filters.urlrewriteviacontainer.WebappHttpTest)
  testMultipleProduct(org.tuckey.web.filters.urlrewriteviacontainer.WebappHttpTest)
  testNullTo(org.tuckey.web.filters.urlrewriteviacontainer.WebappHttpTest)
  testYear(org.tuckey.web.filters.urlrewriteviacontainer.WebappHttpTest)
  testSimpleRun(org.tuckey.web.filters.urlrewriteviacontainer.WebappHttpTest)
  testNoDecode(org.tuckey.web.filters.urlrewriteviacontainer.WebappDecodeNoneTest)
  testSimpleTest(org.tuckey.web.filters.urlrewriteviacontainer.WebappModStyleHttpTest)

testSimpleTestRewrite(org.tuckey.web.filters.urlrewriteviacontainer.WebappModSty
leHttpTest)
  testStatus1(org.tuckey.web.filters.urlrewriteviacontainer.WebappModStyleHttpTest)

Tests in error: 
  testStatusRecord(org.tuckey.web.filters.urlrewriteviacontainer.WebappHttpTest)
  testSimpleDistEx(org.tuckey.web.filters.urlrewriteviacontainer.WebappHttpTest)
  testTestAxis(org.tuckey.web.filters.urlrewriteviacontainer.WebappHttpTest)
  testTestErik(org.tuckey.web.filters.urlrewriteviacontainer.WebappHttpTest)
  testTestEncode(org.tuckey.web.filters.urlrewriteviacontainer.WebappHttpTest)
  testQueryStringEscape(org.tuckey.web.filters.urlrewriteviacontainer.WebappHttpTest)
  testSetup(org.tuckey.web.filters.urlrewriteviacontainer.WebappDecodeNoneTest)
  testTestUtf(org.tuckey.web.filters.urlrewriteviacontainer.WebappDecodeNoneTest)

testQueryStringNoDecode(org.tuckey.web.filters.urlrewriteviacontainer.WebappDeco
deNoneTest)
  testStatusRecord(org.tuckey.web.filters.urlrewriteviacontainer.WebappModStyleHttpTest)
  testSetup(org.tuckey.web.filters.urlrewriteviacontainer.WebappDecodeUtf8Test)
  testTestUtf(org.tuckey.web.filters.urlrewriteviacontainer.WebappDecodeUtf8Test)

Tests run: 220, Failures: 11, Errors: 12, Skipped: 0

Original comment by alon.car...@gmail.com on 6 Jan 2010 at 8:15

@GoogleCodeExporter
Copy link
Author

Anyone else facing this issue?

Original comment by avl...@gmail.com on 13 Feb 2010 at 8:51

@GoogleCodeExporter
Copy link
Author

I ran the tests with ant (ant test) and they work fine. It's a bit strange that 
I
can't even compile using the maven pom, let alone run the tests. Perhaps there's
something going on there that breaks completely with me and only breaks partly 
with
the OP.

Original comment by krom...@gmail.com on 24 Feb 2010 at 2:04

@GoogleCodeExporter
Copy link
Author

For version 4.0.1 the project has been reworked to use Maven as the build tool. 
 The pom should now be correct.

Original comment by p...@tuckey.org on 25 Jun 2012 at 1:59

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant