File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
mantle/platform/machine/aws Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -106,22 +106,22 @@ func (am *machine) saveConsole(origConsole string) error {
106
106
// returned output will be non-empty but won't necessarily include
107
107
// the most recent log messages. So we loop until the post-termination
108
108
// logs are different from the pre-termination logs.
109
- err := util .WaitUntilReady (5 * time .Minute , 5 * time .Second , func () (bool , error ) {
109
+ err := util .WaitUntilReady (10 * time .Minute , 10 * time .Second , func () (bool , error ) {
110
110
var err error
111
111
am .console , err = am .cluster .flight .api .GetConsoleOutput (am .ID ())
112
112
if err != nil {
113
113
return false , err
114
114
}
115
115
116
116
if am .console == origConsole {
117
- plog .Debugf ("waiting for console for %v" , am .ID ())
117
+ plog .Debugf ("waiting for post-terminate console for %v" , am .ID ())
118
118
return false , nil
119
119
}
120
120
121
121
return true , nil
122
122
})
123
123
if err != nil {
124
- err = fmt .Errorf ("retrieving console output of %v: %v" , am .ID (), err )
124
+ err = fmt .Errorf ("retrieving post-terminate console output of %v: %v" , am .ID (), err )
125
125
if origConsole != "" {
126
126
plog .Warning (err )
127
127
} else {
You can’t perform that action at this time.
0 commit comments