tests: Increase Ansible timeout to reduce false positives

Was failing on my dsktop PC, with a spinning rust HDD
pull/964/head
Alex Willmer 2 years ago
parent 526422b74b
commit 900760e913

@ -35,7 +35,7 @@ transport = ssh
no_target_syslog = True
# Required by integration/ssh/timeouts.yml
timeout = 10
timeout = 30
# On Travis, paramiko check fails due to host key checking enabled.
host_key_checking = False

@ -33,7 +33,7 @@
'kwargs': {
'check_host_keys': 'ignore',
'compression': True,
'connect_timeout': 10,
'connect_timeout': 30,
'hostname': 'alias-host',
'identities_only': False,
'identity_file': null,
@ -63,7 +63,7 @@
'kwargs': {
'check_host_keys': 'ignore',
'compression': True,
'connect_timeout': 10,
'connect_timeout': 30,
'hostname': 'cd-normal-alias',
'identities_only': False,
'identity_file': null,

@ -22,7 +22,7 @@
{
'enable_lru': true,
'kwargs': {
'connect_timeout': 10,
'connect_timeout': 30,
'python_path': ["{{ansible_playbook_python}}"],
'remote_name': null,
'password': null,

@ -41,7 +41,7 @@
right: [
{
"kwargs": {
"connect_timeout": 10,
"connect_timeout": 30,
"doas_path": null,
"password": null,
"python_path": ["/usr/bin/python"],
@ -70,7 +70,7 @@
'kwargs': {
'check_host_keys': 'ignore',
'compression': True,
'connect_timeout': 10,
'connect_timeout': 30,
'hostname': 'alias-host',
'identities_only': False,
'identity_file': null,
@ -115,7 +115,7 @@
'kwargs': {
'check_host_keys': 'ignore',
'compression': True,
'connect_timeout': 10,
'connect_timeout': 30,
'hostname': 'alias-host',
'identities_only': False,
'identity_file': null,
@ -158,7 +158,7 @@
right: [
{
'kwargs': {
'connect_timeout': 10,
'connect_timeout': 30,
'doas_path': null,
'password': null,
"python_path": ["/usr/bin/python"],
@ -171,7 +171,7 @@
'kwargs': {
'check_host_keys': 'ignore',
'compression': True,
'connect_timeout': 10,
'connect_timeout': 30,
'hostname': 'cd-normal-normal',
'identities_only': False,
'identity_file': null,
@ -216,7 +216,7 @@
'kwargs': {
'check_host_keys': 'ignore',
'compression': True,
'connect_timeout': 10,
'connect_timeout': 30,
'hostname': 'alias-host',
'identities_only': False,
'identity_file': null,
@ -246,7 +246,7 @@
'kwargs': {
'check_host_keys': 'ignore',
'compression': True,
'connect_timeout': 10,
'connect_timeout': 30,
'hostname': 'cd-normal-alias',
'identities_only': False,
'identity_file': null,
@ -289,7 +289,7 @@
right: [
{
'kwargs': {
'connect_timeout': 10,
'connect_timeout': 30,
'doas_path': null,
'password': null,
"python_path": ["/usr/bin/python"],
@ -302,7 +302,7 @@
'kwargs': {
'check_host_keys': 'ignore',
'compression': True,
'connect_timeout': 10,
'connect_timeout': 30,
'hostname': 'cd-newuser-normal-normal',
'identities_only': False,
'identity_file': null,
@ -348,7 +348,7 @@
'kwargs': {
'check_host_keys': 'ignore',
'compression': True,
'connect_timeout': 10,
'connect_timeout': 30,
'hostname': 'alias-host',
'identities_only': False,
'identity_file': null,
@ -412,7 +412,7 @@
right: [
{
'kwargs': {
'connect_timeout': 10,
'connect_timeout': 30,
'doas_path': null,
'password': null,
'python_path': ["/usr/bin/python"],
@ -423,7 +423,7 @@
},
{
'kwargs': {
'connect_timeout': 10,
'connect_timeout': 30,
'doas_path': null,
'password': null,
'python_path': ["/usr/bin/python"],

@ -5,6 +5,8 @@
tasks:
- name: Cause Ansible connection timeout
connection: local
environment:
ANSIBLE_SSH_TIMEOUT: 10
command: |
ansible -vvv
-i "{{MITOGEN_INVENTORY_FILE}}"

Loading…
Cancel
Save