Comments (4)
Well that's a frustrating oversight. We probably should add some unit tests for this.
from crucible.
One possible solution is to reference/link to the result
(all of which are under the size limit) rather than embed them within the test run.
But that would likely have downstream impacts... most notably processing the server score.
from crucible.
Results aren't embedded within test runs. Take a look at the test_runs
and test_results
collections in your local db.
I believe that line (self.test_results << result
) saves individual results to the test_result
collection, and has each test_result
reference back to its test_run
with the test_run_id
field. Maybe the fact that we are saving it all at once in one batch is causing this problem? We could try saving the test result individually, and manually set the test_run_id
to point back to the test_run
(instead of using mongoid's build in functionality for handling these relationships using array appends).
As an aside, if I was to do it again, I would also put requests/responses in it's own collection. That contains 99% of the data in our database, and would be nice split out into it's own collection so we could exclude it from database dumps, etc. It would also significantly speed up looking at test results by only downloading the request/response data when you click on 'view requests'.
from crucible.
Huh. Worth refactoring?
from crucible.
Related Issues (20)
- Identifier.assigner shall be Reference(Organization)
- CodeSystem for language code shall be urn:ietf:bcp:47
- Issues with format and USCore tests for STU3.0.1
- Invalid Test Check: "XFER1: Conditionally Create Patient and add new Observation as Transaction"
- Invalid Resource in Test: X010: StructureDefinition: Create New
- The comparator field should not be used on SimpleQuantity
- ImplementationGuide.fhirVersion is an array in R4
- Field MedicinalProductIngredient.specifiedSubstance.strength.referenceStrength.strength is missing
- Run test cases - Server not responding now HOT 1
- Running crucible on FHIR server with sql as backend. HOT 1
- Conformance test HOT 1
- file not found on docker deployment
- Test case conflict with constraints on FHIR r4
- Invalid ImagingStudy.series.instance.uid
- X010 RelatedPerson: Create New, Incorrect type for element relationship
- R4 Careplan.activity.kind: invalid code
- R4 ClinicalImpression.status invalid code
- Several invalid values in resources being created in tests
- Problem on UTC date query TimeZone in all (+) TimeZones for _history query
- SE21G: Search for quantity (in observation) - precision tests
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 crucible.