Make the default typing speed slower to work around typing fails

f38
Adam Williamson 8 years ago
parent 282c9f4d51
commit dc0dbe588a

@ -0,0 +1,28 @@
From 870ee22fcdd995fa3486448e0ea04e76f3c20679 Mon Sep 17 00:00:00 2001
From: Adam Williamson <awilliam@redhat.com>
Date: Tue, 15 Aug 2017 10:48:43 -0700
Subject: [PATCH] Slower default typing speed
Suddenly Fedora tests are failing all over the place with typing
errors. I have no idea why, but slowing down typing will, I
hope!, work around the problem for now.
---
testapi.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testapi.pm b/testapi.pm
index eabc411..2616e16 100755
--- a/testapi.pm
+++ b/testapi.pm
@@ -1121,7 +1121,7 @@ sub type_string {
return;
}
- my $max_interval = $args{max_interval} // 250;
+ my $max_interval = $args{max_interval} // 150;
my $wait = $args{wait_screen_change} // 0;
bmwqemu::log_call(string => $log, max_interval => $max_interval, wait_screen_changes => $wait);
if ($wait) {
--
2.14.1

@ -40,7 +40,7 @@
Name: os-autoinst
Version: %{github_version}
Release: 23%{?github_date:.%{github_date}git%{shortcommit}}%{?dist}
Release: 24%{?github_date:.%{github_date}git%{shortcommit}}%{?dist}
Summary: OS-level test automation
License: GPLv2+
Group: Development/System
@ -51,6 +51,12 @@ Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{gith
# test fail less often particularly in Rawhide builds; typing very
# long strings isn't 100% reliable it seems
Patch0: 0001-Type-a-bit-slower-in-the-full_stack-test.patch
# Also type slower in actual use, because suddenly tests are failing
# due to typing errors all over the place and I just cannot figure
# out why this has suddenly started happening. Not upstreamable, this
# is just a workaround until we fix the problem or it goes away...I
# hope.
Patch1: 0001-Slower-default-typing-speed.patch
BuildRequires: autoconf
BuildRequires: automake
@ -227,6 +233,9 @@ make check VERBOSE=1
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.opensuse.os_autoinst.switch.conf
%changelog
* Tue Aug 15 2017 Adam Williamson <awilliam@redhat.com> - 4.4-24.20170725git734682a
- Make the default typing speed slower to work around typing fails
* Mon Jul 31 2017 Adam Williamson <awilliam@redhat.com> - 4.4-23.20170725git734682a
- Bump to latest git

Loading…
Cancel
Save