hyperhq / runv

Hypervisor-based Runtime for OCI
Apache License 2.0
828 stars 129 forks source link

Print integration test log when case failed #490

Closed Crazykev closed 7 years ago

Crazykev commented 7 years ago

Signed-off-by: Crazykev crazykev@zju.edu.cn

Crazykev commented 7 years ago

@laijs PTAL

  1. I've change print log logic to only print runv log when test case failed.
  2. runv log always missing due to glog flush interval is 30s and can't change outside. Add a goroutine to flush glog in every 5s, and manually flush when reap pod and containerd.
laijs commented 7 years ago

LGTM