dututils

package
v0.0.0-...-683b059 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package dututils provides useful DUT related utilities within a small scope.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureDUTIsOn

func EnsureDUTIsOn(ctx context.Context, d *dut.DUT, srvo *servo.Servo) error

EnsureDUTIsOn checks if DUT is pingable and if not, the function waits till DUT boots up.

func EnsureDisconnected

func EnsureDisconnected(ctx context.Context, d *dut.DUT, timeout time.Duration) error

EnsureDisconnected polls and ensures DUT remains disconnected throughout a particular timeout duration.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL