package clientstate

import "github.com/hashicorp/nomad/e2e/clientstate"

Index

Types

type ClientStateTC

type ClientStateTC struct {
	framework.TC
	// contains filtered or unexported fields
}

func (*ClientStateTC) BeforeAll

func (tc *ClientStateTC) BeforeAll(f *framework.F)

func (*ClientStateTC) TestClientState_Corrupt

func (tc *ClientStateTC) TestClientState_Corrupt(f *framework.F)

TestClientState_Corrupt removes task state from the client's state db to assert it recovers.

func (*ClientStateTC) TestClientState_Kill

func (tc *ClientStateTC) TestClientState_Kill(f *framework.F)

TestClientState_Kill force kills Nomad agents and restarts them in a tight loop to assert Nomad is crash safe.

func (*ClientStateTC) TestClientState_KillDuringRestart

func (tc *ClientStateTC) TestClientState_KillDuringRestart(f *framework.F)

TestClientState_KillDuringRestart force kills Nomad agents and restarts them in a tight loop to assert Nomad is crash safe while a task is restarting.

Source Files

clientstate.go

Version
v1.10.0 (latest)
Published
Apr 9, 2025
Platform
linux/amd64
Imports
21 packages
Last checked
1 minute ago

Tools for package owners.