Akita Noek
545fa95d87
Merge pull request #1617 from anoek/unit-test-cleanup
...
Test cleanup and slow test separation
2016-04-20 13:18:07 -04:00
Alan Rominger
09bc235054
Merge pull request #1612 from AlanCoding/1564_mongo_tiny_pieces
...
No mongo connection error in fresh install, no timeout in containers
2016-04-20 12:05:35 -04:00
Akita Noek
659d43136f
Added missing import
2016-04-20 11:50:20 -04:00
Matthew Jones
16fbb7d14c
Add default playbook to job template preload
2016-04-20 11:29:21 -04:00
Akita Noek
22f18715f7
Removed dup tests, moved old api tests into main/tests/old/api
2016-04-20 11:29:01 -04:00
Akita Noek
568f0e43a5
Skip old slow tests for normal unit test runs, pick them up in nightly runs
2016-04-20 11:27:17 -04:00
Akita Noek
a0d25434df
Skip old splunk test
...
This should be removed by #1613
2016-04-20 10:50:54 -04:00
AlanCoding
ca682fb362
remove connection error in fresh install, mongo setting in dev environment
2016-04-20 10:15:06 -04:00
Wayne Witzel III
fe75d164a7
added region choice placeholders for Sat6/CloudForms
2016-04-20 09:43:31 -04:00
Akita Noek
0434712dc9
Complete the removal of cycle support in RBAC
...
We removed the actual need for this when we broke the org<->team cycle.
This patch removes the code we had to support that, but since it's
costly and unused, it's now nixxed.
2016-04-19 22:14:38 -04:00
Akita Noek
70148dc2f3
Restored old large inventory test timings
...
Fixes #1584
2016-04-19 22:14:38 -04:00
Akita Noek
f85090110f
Fixed up fact tests to work with both sqlite and postgres
...
Ugly hack for now.. should be cleaned up when we get everything moved
over to postgres
2016-04-19 22:14:38 -04:00
Akita Noek
6864701d8b
Revert "Fixed fact cache test difference between sqlite3 and postgres"
...
This reverts commit 631084b10f4435efe56d3a4fc774dd250f74e2ee.
2016-04-19 22:14:38 -04:00
Akita Noek
127bff5134
Moved role rebuild batching down into sim rebuild code so we can call it directly
2016-04-19 22:14:38 -04:00
Akita Noek
5197c1b65a
Optimized implicit role creation for new instances of resources
2016-04-19 22:14:38 -04:00
Akita Noek
233ed894d6
Optimized ImplicitRoleField post_delete action
2016-04-19 22:14:38 -04:00
Akita Noek
c0e056d6d0
Fixed fact cache test difference between sqlite3 and postgres
...
I guess the sqlite adaptation of the JSONField was resulting in a json
encoded blob, where as the postgres version returned something that got
parsed out normally with the rest of the query result?
2016-04-19 22:14:38 -04:00
Akita Noek
6349cc0f85
Skip test_fact.py migrations if MONGO_DB is not confingured
2016-04-19 22:14:38 -04:00
Akita Noek
7ee2c89ab5
test_notifications.py id fix
...
Ass-ummed an id of 1
2016-04-19 22:14:38 -04:00
Akita Noek
85a1b30af5
Skip activity stream tests if activity stream is disabled
2016-04-19 22:14:38 -04:00
Akita Noek
450e6f2885
Removed git configuration from org count projects
...
Avoids unnecessary cloning of said git repo, runs in 4 seconds now
instead of 50 seconds
2016-04-19 22:14:38 -04:00
Akita Noek
2a0b445488
Remove git project configuration from project test fixtures
...
Having this in here causes us to go out and pull down the repo whenever
we run a test, adds around 9 seconds per test on a good connection.. if
we need real data in here, we should figure out how to get it locally
2016-04-19 22:14:38 -04:00
Akita Noek
f0aebd00eb
Removed transaction=True from pytests
...
This was overkill and cost 3s per instance, all we needed to do is wrap
things that expectedly fail transactions with transaction.atomic()
2016-04-19 22:14:38 -04:00
Wayne Witzel III
320d6377d0
add Red Hat for CloudForms and Satellite 6
2016-04-19 18:03:58 -04:00
Wayne Witzel III
82464fb45b
remove extra validation on project.organization, enforced in UI, but allowed in API
2016-04-19 17:59:56 -04:00
Akita Noek
ad423e976b
Bump splunk time limit up to pass tests, will fix in #1584
2016-04-18 17:58:18 -04:00
Akita Noek
043c71728c
Bump our monolithic test time back up.. will try and reduce it post-merge
2016-04-18 17:06:47 -04:00
Akita Noek
41553c39bf
Moved dummy data generator out to tools directory
2016-04-18 16:56:29 -04:00
Akita Noek
97f70cdbbc
Merge branch 'devel' of github.com:ansible/ansible-tower into 11th-hour
2016-04-18 16:30:55 -04:00
Akita Noek
c3144dc4d3
benign 0008 migration change to make makemigrations happy
2016-04-18 16:26:11 -04:00
Akita Noek
07eccbe3e4
Migration for dropping implicit host inventory,name ordering
2016-04-18 16:22:14 -04:00
Matthew Jones
d87213705b
Adjust job launch blocking logic
...
Previously a job template would always block another job template launch
regardless of the details of the job template. We now restrict that
blocking logic to only block in the case that the job template was
launched with the same inventory. We keep the exclusion where if the
launch type is 'callback' and the limits differ then they won't be blocked
2016-04-18 15:57:31 -04:00
Akita Noek
96aa3e2555
Attempt 2 at making jenkins' sqlite happy
2016-04-18 15:26:09 -04:00
Akita Noek
fa98b59b6c
Merge pull request #9 from AlanCoding/11th-hour
...
Merge devel, update job launch behavior to newest permissions stuff
2016-04-18 15:03:58 -04:00
AlanCoding
1a97773aa1
remove more save calls
2016-04-18 14:36:18 -04:00
Akita Noek
0349737538
Attempt at a workaround for our larger sqlite tests
...
These tests are only failing on jenkins, not on our local dev
environments.
2016-04-18 14:32:21 -04:00
Akita Noek
0cf096e5b0
Updated users.py test expectations to match our current behavior
2016-04-18 14:31:42 -04:00
AlanCoding
5abde762ae
updates to prompt-for tests and logic for new RBAC updates
2016-04-18 14:29:30 -04:00
Matthew Jones
226cb9acdf
Protect job template and project template notifiers in the case where
...
the project or org may not be available.
2016-04-18 14:24:53 -04:00
AlanCoding
9c75ced9f8
Merge branch 'devel' of https://github.com/ansible/ansible-tower into 11th-hour
2016-04-18 14:12:13 -04:00
Alan Rominger
33500f5816
Merge pull request #1431 from AlanCoding/1136_prompt_for_all_things3
...
Allow prompting for several new runtime variables
2016-04-18 14:04:11 -04:00
Akita Noek
6c47aed852
Merge pull request #8 from AlanCoding/11th-hour-org-counts
...
Thorough organization counts testing, un-skip
2016-04-18 11:41:51 -04:00
Akita Noek
878455187f
Optimized viewable user list, fixed up some project readability bugs
2016-04-18 11:28:46 -04:00
Matthew Jones
ba7f48abf1
Updating tests around data preload
2016-04-18 11:27:39 -04:00
Akita Noek
8b67f1d1c6
Removed team<->org role cycle
2016-04-18 11:27:22 -04:00
AlanCoding
fb013ed7f1
org counts: un-skip tests, more thorough counting
2016-04-18 11:15:05 -04:00
Akita Noek
6d8bab97df
Only rebuild ancestor list on post_* events
2016-04-18 08:53:40 -04:00
Akita Noek
2a676d80ce
Handle vacuous role rebuilding condition instead of exploding
2016-04-18 08:45:44 -04:00
Akita Noek
85843cc6ad
Fixed up some RBAC indexing
2016-04-17 10:20:38 -04:00
Akita Noek
a9f2507e91
flake8
2016-04-16 18:54:45 -04:00