- 20 Feb, 2019 2 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This would guarantee that the ungenerated payment from others tests are generated, while you are running live tests.
-
- 18 Feb, 2019 2 commits
-
-
Łukasz Nowak authored
/reviewed-on nexedi/slapos.core!99
-
Bryton Lacquement authored
This fixes a regression introduced in commit 7467ef4c ("Add Python 3 support"). /reviewed-on nexedi/slapos.core!98
-
- 15 Feb, 2019 1 commit
-
-
Alain Takoudjou authored
The reload part is mainly used for tests, module is reloaded if the promise file has changed. Here, __file__ ends with pyc when promise_path ends with py.
-
- 08 Feb, 2019 2 commits
-
-
Alain Takoudjou authored
-
Rafael Monnerat authored
Since the compatibility with python3 the code change to not encode the string anymore. @jm @bminusl can you take a look if it is enough (I will improve commit message after) This at least make the test pass. /reviewed-on nexedi/slapos.core!94
-
- 07 Feb, 2019 1 commit
-
-
Łukasz Nowak authored
Just like reference implementation support empty keys. /cc @rafael This makes slapproxy behave the same way as SlapOS Master for empty keys while requesting slaves. /reviewed-on nexedi/slapos.core!96
-
- 06 Feb, 2019 3 commits
-
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
There is now `EmptyResult` object which is an empty promise result. This result is send if the promise test or anomaly was skiped (if disabled). To prevent raise because `EmptyResult` is unknonwn on old slapos-node with `slapos.core < 1.4.17` we will send an empty TestResult instead.
-
- 05 Feb, 2019 4 commits
-
-
Alain Takoudjou authored
-
Alain Takoudjou authored
Support for promise test-less or anomaly-less allow to disable either the test phase or the anomaly phase. by default, test and anomaly are enabled, `__is_tested = True` and `__is_anomaly_detected = True`. Test will run when buildout is processing the computer partition, and anomaly when the partition is processed. Call `self.setTestLess()` in `__init__.py` of the promise will disable Test and set `__is_tested = False`. Call `self.setAnomalyLess()` will rather disable Anomaly and set `__is_anomaly_detected = False`. def __init__(self, config): GenericPromise.__init__(self, config) # Skip test check on this promise self.setTestLess() If the promise is test less, then slapgrid will not run the promise while processing the partition which mean that the promise will not report error, only Anomaly will be checked. Samething, if promise is anomaly less, only test will run when slapgrid is processing the partition. /reviewed-on !93
-
Alain Takoudjou authored
-
Alain Takoudjou authored
Support for promise test-less or anomaly-less allow to disable either the test phase or the anomaly phase. by default, test and anomaly are enabled. Test will run when buildout is processing the computer partition, and anomaly when the partition is processed. Call `self.setTestLess()` in __init__.py of the promise will disable Test and set `__is_tested = False`. Call `self.setAnomalyLess()` will rather disable Anomaly and set `__is_anomaly_detected = False`. If the promise is test less, then slapgrid will not run the promise while processing the partition which mean that the promise will not report error, only Anomaly will be checked. Samething, if promise is anomaly less, only test will run when slapgrid is processing the partition.
-
- 31 Jan, 2019 2 commits
-
-
Jérome Perrin authored
This can hide problems when tests are not isolated correctly. /reviewed-on nexedi/slapos.core!84
-
Jérome Perrin authored
- rename test files as test_*.py, this is how tests are collected by py.test - take into account that test runner might disable log level and patch sys.stdout already /reviewed-on nexedi/slapos.core!92
-
- 25 Jan, 2019 6 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
Rafael Monnerat authored
It incldudes minor fixes on the scripts
-
Rafael Monnerat authored
This may reduce code duplication across tests of several bt5 tests
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-
- 23 Jan, 2019 4 commits
-
-
Thomas Gambier authored
this will be usefull when looking for all HS belonging to someone. /cc @alain.takoudjou @rafael @guillaume.hervier /reviewed-on nexedi/slapos.core!90
-
Thomas Gambier authored
-
Thomas Gambier authored
the related keys were missing in master/bt5/slapos_cloud/bt/template_catalog_method_id_list
-
Thomas Gambier authored
the related keys were correctly commited in master/bt5/slapos_cloud/CatalogRelatedKeyTemplateItem/related_key_list.xml but not in master/bt5/slapos_cloud/bt/template_catalog_related_key_list
-
- 18 Jan, 2019 2 commits
-
-
Alain Takoudjou authored
- fix upgrade decision duplicated when an hosting subscription is deployed in many partitions - Prevent concurrent transaction to create 2 upgrade decision for the same Hosting Subscription /reviewed-on nexedi/slapos.core!79
-
Alain Takoudjou authored
-
- 17 Jan, 2019 1 commit
-
-
Guillaume Hervier authored
I added and fixed some URL columns on some views: - `slapos_cloud/ComputerUsage_view` - `slapos_cloud/HostingSubscription_view` The goal is to make the process to look for the needed informations faster by reducing clicks between views on listbox objects, by making some changes such as clicking on an object name on a column should redirect to the object view page instead of the row's object view page. Additionally, these changes are made to be compatible with the RenderJS UI. As this is not the default behaviour in ERP5, it may sound counter-intuitive, but this special behaviour is made to improve efficiency/productivity over intuitivity. Personally, I wondered about having some "compromise" which is having the "Plane" icon on these columns beside the content to clearly indicate that this icon will redirect to the object's view (as the current "Plane icon" behaviour in ERP5) /reviewed-on nexedi/slapos.core!89
-
- 15 Jan, 2019 2 commits
-
-
Guillaume Hervier authored
-
Guillaume Hervier authored
slapos_cloud: HostingSubscription_view: Add links to access elements from columns in instances list.
-
- 14 Jan, 2019 3 commits
-
-
Alain Takoudjou authored
-
Bryton Lacquement authored
Typo fix of commit 7467ef4c /reviewed-on nexedi/slapos.core!87
-
Alain Takoudjou authored
If there is not changes in slapformat.xml, current slapformat will not dump computer resources (as well as partition resources). For compatibility with olders version of slapformat, dump partition resources if it's not created yet event if the file slapformat.xml didn't change. /reviewed-on nexedi/slapos.core!88
-
- 08 Jan, 2019 1 commit
-
-
Jérome Perrin authored
https://docs.python.org/dev/whatsnew/3.2.html python3 warns about not unclosed files and sockets. Use context managers with files to close them. Use context manager to close socket to supervisor on python 3. On python 2 these sockets remain not closed as before. There are a few warnings left, but output starts to be readable again. /reviewed-on nexedi/slapos.core!78
-
- 07 Jan, 2019 1 commit
-
-
Thomas Gambier authored
-
- 03 Jan, 2019 3 commits
-
-
Alain Takoudjou authored
-
Alain Takoudjou authored
[slapos_pdm] Prevent concurrent transaction to create 2 upgrade decision for the same hosting_subscription
-
Alain Takoudjou authored
[slapos_pdm] fix upgrade decision duplicated when hosting subscription is deployed in many partitions
-