Skip to contentSkip to conversation

host reuse: Reuse hosts only in same role (for now)

PATCH New Ian Jackson 1 participant 1 message Oct 16, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 host reuse: Reuse hosts only in same role (for now)

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.

---
 ts-host-reuse | 1 +
 1 file changed, 1 insertion(+)
ts-host-reuse +1 -0
index ae967304..8d674257 100755
@@ -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};
Signature · 1 line
2.20.1