]> xenbits.xensource.com Git - osstest.git/commitdiff
host reuse: Reuse hosts only in same role (for now)
authorIan Jackson <iwj@xenproject.org>
Fri, 16 Oct 2020 12:33:15 +0000 (13:33 +0100)
committerIan Jackson <iwj@xenproject.org>
Fri, 16 Oct 2020 12:33:15 +0000 (13:33 +0100)
This is a workaround.  There is a problem with hoat key setup in a
group of hosts, which means that when a pair test reuses a host set up
by a different test, we can get
   Host key verification failed.
during the src-to-dst migration.

Signed-off-by: Ian Jackson <iwj@xenproject.org>
ts-host-reuse

index ae9673042353aa695b55fdcb1669fd40f1615030..8d67425765974789bee669e35cb1a790fe52012d 100755 (executable)
@@ -67,6 +67,7 @@ sub sharetype_add ($$) {
 sub compute_test_sharetype () {
     my @runvartexts;
     my %done;
+    push @runvartexts, $ho->{Ident};
     foreach my $key (runvar_glob(@accessible_runvar_pats)) {
        next if runvar_is_synth($key);
        my $val = $r{$key};