Roberto Rosario
ab601f9180
Initial commit to support Celery 4.3.0
...
Merges 55e9b2263c from versions/next
with code from GitLab issue #594 and GitLab merge request !55 .
Thanks to Jakob Haufe (@sur5r) and Jesaja Everling (@jeverling)
for much of the research and code updates.
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com >
2019-07-17 04:30:11 -04:00
Roberto Rosario
76f320faf5
Ensure gnupg1 is used for gitlab testing
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-05-15 14:28:15 -04:00
Roberto Rosario
ae595dd359
Disable file metadata processing during tests
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-29 04:00:20 -04:00
Roberto Rosario
0267c79b07
Backport test improvements
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-20 02:39:57 -04:00
Roberto Rosario
9b2633e6c7
Update middleware to new style classes
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2019-04-14 00:22:35 -04:00
Roberto Rosario
a99b044555
Code style improvement. Test code consolidation. PEP8 cleanups.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-06 02:13:36 -04:00
Roberto Rosario
48e7b7970c
Speed up tests.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-23 00:17:53 -04:00
Roberto Rosario
5d05b4ea7c
Use list comprehension to disable the whitenoise runserver static server.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-25 03:24:27 -04:00
Roberto Rosario
2a3d4eedc8
Move whitenoise test disabling to base.py. Disable the whitenoise runserver app. Disable Manifest static storage.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-25 03:22:17 -04:00
Roberto Rosario
e4af58d4b7
Remove whitenoise from middlewares during test suit as it causes out of memory errors.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-24 23:35:11 -04:00
Roberto Rosario
d560ec5df7
Update the GPG path for the tests.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-10 04:45:05 -04:00
Roberto Rosario
3689df4aac
Better default for the testing error log file full path.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-29 23:32:22 -04:00
Eric Riggs
9fbedd244c
- Put the log file in the /tmp folder.
...
- This is temporary and should be fixed. Create /media when not found?
Signed-off-by: Eric Riggs <ericriggs42@gmail.com >
2018-04-22 13:51:14 -04:00
Roberto Rosario
a5856da810
Turn off DEBUG for the development test setting file to avoid filling the screen with debug messages during testing.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-03 00:19:24 -04:00
Michael Price
7000ba1630
Don't use gpg1 for testing against sqlite.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 02:53:18 -04:00
Michael Price
026c7d391b
Add settings module for easy testing during development.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 02:53:16 -04:00
Michael Price
8c37bd87d6
GitLab CI testing with Ubuntu 16.10 is failing. Fallback to Ubuntu 16.04.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 02:36:08 -04:00
Roberto Rosario
22bb93ec13
Add support to test agains Oracle via Docker.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-22 04:41:29 -04:00
Roberto Rosario
22e0604226
Add Makefile targets to run all or selected tests against a
...
MySQL or Postgres Docker container.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-21 23:49:51 -04:00
Roberto Rosario
5fedc2c3b0
Make document version order deterministic.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-07-21 17:20:58 -04:00
Roberto Rosario
845826ba70
Add make file entries to launch a MySQL container
...
as use as a testing database.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-06-07 02:06:10 -04:00
Roberto Rosario
286e9517c3
Add Makefile targets to run testing instance against local
...
Docker REDIS and Postgres services
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-09 01:04:22 -04:00
Roberto Rosario
5ff3ea9317
Don't override the DEBUG variable value of local.py
2017-02-16 21:47:43 -04:00
Roberto Rosario
2f2c5d5b09
Make tests import from local setting to inherit the user's overrides.
...
Force tests to enable the DEBUG variable.
2016-12-22 03:37:36 -04:00
Roberto Rosario
79b0763fe9
Cleanups
2016-12-22 03:15:32 -04:00
Roberto Rosario
7f4dee8d69
Fix testing settings for GitLab CI.
2016-11-08 18:19:49 -04:00
Roberto Rosario
6b9b280d71
Improve documentation regarding the use of GPG version 1. GitLab issue #333 . Thank to @Albe for the report.
2016-11-08 02:26:17 -04:00
Roberto Rosario
f28b797f0a
Update default testing config to use GPG version 1.
2016-10-24 01:21:58 -04:00
Roberto Rosario
f8da7fe1a9
Revert "Testing base settings now import from settings/local.py first."
...
This reverts commit 2f298df1a0 .
2016-01-17 00:44:57 -04:00
Roberto Rosario
2f298df1a0
Testing base settings now import from settings/local.py first.
2016-01-17 00:23:51 -04:00
Roberto Rosario
fc1c455a0a
Fix gitlab-ci base import.
2015-09-28 00:24:59 -04:00
Roberto Rosario
b2fcace9c2
Update postgres hostname.
2015-09-27 23:27:16 -04:00
Roberto Rosario
d8f811a357
Change the host for the mysql server.
2015-09-27 23:07:44 -04:00
Roberto Rosario
a236b7a869
Add django-test-without-migations and enable it in the base testing settings file.
2015-09-27 00:36:58 -04:00
Roberto Rosario
228cf32fc8
Connect to MySQL via TCP not via Linux socket.
2015-09-25 00:31:57 -04:00
Roberto Rosario
6edafc814f
Add testing setting files for gitlab-ci. Improve gitlab-ci config file.
2015-09-24 23:28:36 -04:00
Roberto Rosario
03b8a6cfc2
Initial configuration files for magnum-ci.
2015-08-19 01:57:20 -04:00
Roberto Rosario
83974d5656
Move travis-ci related settings files into their own module.
2015-08-19 01:30:07 -04:00