- 11 Dec, 2024 16 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Include a custom ERP5Type_asSecurityGroupIdSet, since we need to handle the order of [source|destination]_project + function (sort) a non-standard way.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
it cause confusion on grep and search, if we need access its code, we may rely on https://lab.nexedi.com/nexedi/slapos.core/-/tree/master/master/bt5/slapos_jio
-
Rafael Monnerat authored
This helps to emulate payments, so we can test outcome before/after payment to wechat
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Only launch caucase when needed. Not all tests need caucase, this saves a bit the overhead to run it
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Move shared code into InstanceTree_getNodeAndAllocationSupplyCellList and reuse into CRM and PDM for get the related Allocation Supply. This preserve the logic into a single location. Include more tests and extend implementation to now support Instance Node too.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Add a daily alarm to verify if all instance allocated have proper Allocation Supply configured and if they still respect the SLA. Extend SoftwareInstance_getReportedErrorDict to verify SLA, since, in general the context of the report should be the instance tree. The calculation is cheap to assert the SLA, and this script already has specific checks to inform the user about bad approaches.
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
Do not check deleted root instances
-
- 06 Dec, 2024 1 commit
-
-
Rafael Monnerat authored
-
- 05 Dec, 2024 11 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
Now we rely on implementer decorator
-
- 03 Dec, 2024 4 commits
-
-
Rafael Monnerat authored
Base_addSlapOSSupportRequest always created a ticket so no reason to invoke Project_createTicketWithCausality anyway.
-
Titouan Soulard authored
Floating point arithmetics often lead to unsignificant differences between expected and computed values (this is the typical example of `0.1 + 0.2 != 0.3`). Because of this, some tests using `assertEqual` to compare two floats were failing. The Python method [`assertAlmostEqual`](https://docs.python.org/2.7/library/unittest.html#unittest .TestCase.assertAlmostEqual) can prevent these issues by comparing values up to the seventh decimal place. To find all occurences, two RegExp were ran on all files of the `tests/` folder: `assertEquals?(\\(.+, [0-9]+\\.[0-9]+\\))` and `assertEquals?(\\([0-9]+\\.[0-9]+)`. /cc @xavier_thompson @tomo /reviewed-by @jerome /reviewed-on !719
-
Thomas Gambier authored
-
Titouan Soulard authored
The old `SafeConfigParser` class has been deprecated since Python 3.2, and was fully dropped in Python 3.11. See issue [#45173](https://bugs.python.org/issue45173) on Python's bugtracker. /cc @xavier_thompson who may ping anyone else if needed
-
- 28 Nov, 2024 2 commits
-
-
Romain Courteaud authored
slapos_accounting: calculating the outstanding deposit amount need to also check the balance which include the VAT Test: ensure a second service can be ordered
-
Romain Courteaud authored
-
- 27 Nov, 2024 2 commits
-
-
Thomas Gambier authored
-
Jérome Perrin authored
so that we can click on the link
-
- 22 Nov, 2024 1 commit
-
-
Rafael Monnerat authored
If a software instance with 1 or more slave instances allocated on it is destroyed the instances aren't reallocated, so let's create a ticket to high light the problem.
-
- 21 Nov, 2024 2 commits
-
-
Rafael Monnerat authored
Probably a copy and paster or typo.
-
Rafael Monnerat authored
Destination is never set... Destination Section is a proper value for the condition.
-
- 18 Nov, 2024 1 commit
-
-
Rafael Monnerat authored
-