aboutsummaryrefslogtreecommitdiffstats
path: root/vdslib/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* Timestamp used in NodeState must have well defined resolution in order to ↵Henning Baldersheim2023-02-071-1/+1
| | | | | | compare for exactness. Revert back to using an uint64_t for representing it as seconds since epoch.
* Revert "Revert "Use steady_time for vdslib::NodeState MERGEOK""Henning Baldersheim2023-02-071-1/+1
|
* Revert "Use steady_time for vdslib::NodeState MERGEOK"Henning Baldersheim2023-02-071-1/+1
|
* Use steady_time for vdslib::NodeStateHenning Baldersheim2023-02-071-1/+1
|
* Revert "Øess use of getSeconds/getMicroSeconds/getMilliSeconds."Henning Baldersheim2023-02-071-1/+1
|
* Øess use of getSeconds/getMicroSeconds/getMilliSeconds.Henning Baldersheim2023-02-051-1/+1
|
* Change from typedef to using in vdslib C++ code.Geir Storli2022-12-211-1/+1
|
* Replace jettison with jacksonjonmv2022-10-2142-26591/+21298
|
* fix more undefined behaviorHåvard Pettersen2022-06-221-1/+1
|
* Make ConfigUri constructors explicit and use same context where possible in ↵Henning Baldersheim2022-02-201-2/+1
| | | | proton.
* Update 2019 Oath copyrights.gjoranv2021-10-271-1/+1
|
* Update 2018 copyright notices.gjoranv2021-10-071-1/+1
|
* Update 2017 copyright notices.gjoranv2021-10-0714-14/+14
|
* Remove notion of node-specific reliability from C++ distribution codeTor Brede Vekterli2021-03-022-25/+13
| | | | | I have never seen this in use anywhere, and can find no code that ever sets it. Bonus is that node candidate trimming can be vastly simplified.
* - Reduce visibility of ClusterState and Distribution.Henning Baldersheim2021-02-192-11/+12
|
* use size literals in streamingArne Juul2021-02-151-3/+4
|
* Add feed block status to ClusterStateBundle in C++.Geir Storli2021-01-181-2/+40
|
* Update CMakeLists.txtHenning Baldersheim2021-01-131-1/+1
|
* No need to set cost explicit.Henning Baldersheim2021-01-121-1/+1
|
* Disable valgrind as this test takes 360s with and 3s without.Henning Baldersheim2021-01-121-5/+1
|
* Remove disk distribution from C++ part of vdslib.Tor Egge2020-11-051-1/+0
|
* Remove diskstate from vdslib.Tor Egge2020-11-032-253/+2
|
* Use std::mutex and std:.condition_variable and GC some unused code.Henning Baldersheim2020-10-134-239/+0
|
* Use vespalib::Lock -> std::mutexHenning Baldersheim2020-10-081-6/+5
|
* - GC unused code.Henning Baldersheim2020-10-074-104/+0
| | | | - vespalib::Lock -> std::mutex
* Annotate some expensive tests to allow them to start first when running in ↵Arnstein Ressem2020-09-021-0/+1
| | | | parallel.
* Consolidate search for GTest.Tor Egge2020-07-076-7/+0
|
* Merge pull request #13742 from ↵Geir Storli2020-06-306-6/+13
|\ | | | | | | | | vespa-engine/toregge/use-find-package-to-find-gtest Use find_package to find gtest library.
| * Use find_package to find gtest library.Tor Egge2020-06-296-6/+13
| |
* | Only sort once during ideal group calculationsTor Brede Vekterli2020-06-291-0/+106
|/ | | | | | | | | Avoids invoking `std::sort` O(n) times in favor of just once. Benchmark for 150 groups of 1 node each: * Before: 0.0004381478 seconds per invocation * After: 0.0000377917 seconds per invocation
* Revert "Only sort once during ideal group calculations"Arnstein Ressem2020-06-261-54/+0
|
* Only sort once during ideal group calculationsTor Brede Vekterli2020-06-251-0/+54
| | | | | | | | | Avoids invoking `std::sort` O(n) times in favor of just once. Benchmark for 150 groups of 1 node each: * Before: 0.0004381478 seconds per invocation * After: 0.0000377917 seconds per invocation
* Don't write outside container in vdslib distribution test.Tor Egge2020-04-231-19/+18
|
* GC a load of unused code. ByteBuffer towards read only.Henning Baldersheim2020-01-201-6/+10
|
* FastOS_THread::Sleep -> std::chrono::sleep_forHenning Baldersheim2019-12-041-2/+4
| | | | | Renamed Timer -> ScheduledExecutor. Do not include thread.h when not needed in header files.
* Remove unused vespa/vespalib/util/regexp.h include in vdslib.Tor Egge2019-10-071-1/+0
|
* Use int64_t for vdslib::Parameters overload.Tor Egge2019-08-071-4/+4
|
* Simplify.Geir Storli2019-05-231-3/+3
|
* Rewrite vdslib tests from cppunit to gtest.Geir Storli2019-05-237-686/+292
| | | | | Note that testSkew() and testSkewWithDown() have been inactive for 9 years and are removed. testEmptyAndCopy() has never been executed and is also removed.
* Remove debug test program that is no longer relevant and code that is not used.Geir Storli2019-05-235-843/+0
|
* Resurrect parts of state/grouptest.cpp that are still relevant and remove ↵Geir Storli2019-05-232-335/+96
| | | | unused files.
* Rewrite vdslib tests from cppunit to gtest.Geir Storli2019-05-227-272/+150
|
* Rewrite tests from cppunit to gtest.Geir Storli2019-05-165-108/+71
|
* stop using python script for cppunit testsArne Juul2019-03-261-2/+1
|
* Add '()' to macro definition.Geir Storli2019-03-011-1/+1
|
* Simplify.Geir Storli2019-03-011-1/+0
|
* Reduce code duplication in gtest runners.Geir Storli2019-02-221-8/+2
|
* Add gtest runner in vdslib and migrate bucketdistributiontest from CppUnit ↵Geir Storli2019-02-185-34/+50
| | | | | | to gtest. Also note that bucketdistributiontest has not been executed since migration to cmake.
* Derive correct distribution partition spec for grouped clustersTor Brede Vekterli2019-02-121-0/+14
| | | | | | | | Simplify code by emitting wildcards for all groups instead of using explicit leaf counts. Distribution code will distribute replicas evenly across all wildcarded groups. This fixes #8475
* Eliminate clang warnings in vdslib.Tor Egge2019-02-081-1/+1
|