package lifecycle

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

Index

Types

type LifecycleE2ETest

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

func (*LifecycleE2ETest) BeforeAll

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

BeforeAll ensures the cluster has leader and at least 1 client node in a ready state before running tests.

func (*LifecycleE2ETest) TestBatchJob

func (tc *LifecycleE2ETest) TestBatchJob(f *framework.F)

TestBatchJob runs a batch job with prestart and poststop hooks

func (*LifecycleE2ETest) TestServiceJob

func (tc *LifecycleE2ETest) TestServiceJob(f *framework.F)

TestServiceJob runs a service job with prestart and poststop hooks

Source Files

lifecycle.go

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

Tools for package owners.