Comments (12)
With r813 most JUnit tests run again. However, some (important) tests still
fail:
* SPARQLServletPojoTest
* HttpDeleteServiceOnTripleStoreTest
* RemoveTest
* QuadsTest
* QuadsDeletionTest
I will look into those the next days ...
- Andreas
Original comment by andreas.josef.wagner
on 3 Feb 2014 at 1:50
- Changed state: Started
from cumulusrdf.
Wow, nice shot!
For HttpDeleteServiceOnTripleStoreTest, at least locally, tests are
green if you run them separately, so that should be something with setup
/ teardown methods.
Original comment by [email protected]
on 3 Feb 2014 at 5:55
from cumulusrdf.
Ok,
HttpDeleteServiceOnTripleStoreTest now is green...that was my stupid
mistake...testset iterator was static so once traversed in the first
test method its hasNext always returned false.
Now, I will split CRUDServletPojoTest in one test case for each REST
service (like HttpDeleteServiceOnTripleStoreTest is for DELETE)
Original comment by [email protected]
on 3 Feb 2014 at 8:30
from cumulusrdf.
I added a dedicated test case for POST REST service
(HttpPostServiceOnTripleStore).
- all (both positive and negative) tests are green.
- test coverage indicates that we should run tests with all supported
formats but since there's a todo (in CRUDServlet.doPost) for supporting
as much formats as possible I think we take care about that later (I
will open a separate issue / enhancement)
Original comment by [email protected]
on 3 Feb 2014 at 10:39
from cumulusrdf.
Added a dedicated test case for GET REST service
(HttpGetServiceOnTripleStore).
- all (both positive and negative) tests are green.
- test coverage indicates that there are some branches not covered
(mainly one branch for supported format)
- CRUDServletPojoiTest has been commented out because incompatible
changes. When the last test (PUT) will be created it could be removed.
Original comment by [email protected]
on 3 Feb 2014 at 10:52
from cumulusrdf.
Added a dedicated test case for PUT REST service
(HttpPutServiceOnTripleStore) with r861
Original comment by [email protected]
on 6 Feb 2014 at 6:59
from cumulusrdf.
Fixed with r892 : we have 148 green tests
Original comment by [email protected]
on 14 Feb 2014 at 4:07
- Changed state: Fixed
from cumulusrdf.
Very cool :) Thanks for your good work. However, it seems we still have some
Exceptions in the test runs. For some reason, we don't see this in the test
outcomes?! I don't know why ...
Attached find the console output from the build#5 ... The exceptions don't seem
to major problems - some NullPointers, ParserExceptions etc. But we still
should fix them.
Kind regards
Andreas
Original comment by andreas.josef.wagner
on 16 Feb 2014 at 1:23
Attachments:
from cumulusrdf.
This is also a strange ERROR in the above log (not an Execption, though):
ERROR [edu.kit.aifb.cumulus.util.hector.CassandraHectorCounterFactory] counter:
TRIPLE_COUNTER suffered an overflow! current counter value: -3
This should not happen in the tests ;)
Original comment by andreas.josef.wagner
on 16 Feb 2014 at 1:26
from cumulusrdf.
... reopening the issue ...
- Andreas
Original comment by andreas.josef.wagner
on 16 Feb 2014 at 1:28
- Changed state: Started
from cumulusrdf.
Hi Andreas,
NPEs are ok, those test cases want that specific behaviour :D You can see in
GET / POST / PUT (CRUDServlet) tests...for each of them there are two test
cases that
- try to see what happens in case of CumulusException: as commented there I'm
not emulating each scenario that could raise that problem...just injecting a
Store in ServletContext that is not yet open. The exception is caught, prnted
out and the server sends a 500 INTERNAL SERVER ERROR as expected. You are
seeing the exception because the logger on the servlet.
- try to see what happens in case of *Exception: the catch (Exception) is the
last block of each get/put/post method so here the test is seeing that if a
(example) RuntimeException is thrown, the the expected result must be a 500
INTERNAL SERVER ERROR. You are seeing the exception because the logger on the
servlet.
I'm going to see the other exception you mentioned.
Original comment by [email protected]
on 16 Feb 2014 at 2:02
from cumulusrdf.
After checking, all exceptions that are printed out during the execution of
tests are expected, so I'm closing this issue.
Original comment by [email protected]
on 1 Mar 2014 at 9:50
- Changed state: Fixed
from cumulusrdf.
Related Issues (20)
- HTTPRepository > Support multiple Repositories HOT 4
- Update "CodeExamples" in Wiki HOT 2
- Wiki > Add documentation on using "Gremlin" via Sesame ... HOT 1
- Add configuration option for an "in-memory" store ...
- Modular storage layout HOT 4
- Management interface using JMX
- Switch to Apache License HOT 9
- CumulusRDF logo HOT 15
- Remove unnecessary/ancient servlets HOT 2
- Wiki > Add documentation on starting cumulusRDF with embedded cassandra/tomcat server HOT 2
- Create a VM imagine for easy test deployment HOT 1
- Support large literals > 64 KB HOT 23
- CumulusRDF is not open! HOT 14
- Modular storage layout > HBase core module
- Use less CQL3 Sessions HOT 1
- SPARQL query filtering by predicate throws an exception HOT 3
- Configuration HOT 5
- Move tomcat configuration in resource folder HOT 1
- Closing one store closes everything HOT 5
- Need TTL configurator for test case HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cumulusrdf.