/
githubmirror
/
origin
Обзор
Документация
Войти
/
githubmirror
/
origin
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/extended/kernel/kernel_rt_functional.go
46 строк
1 KB
Jeff Roche
feat: added a realtime latency test suite
02 авг 2023, 19:13
02 авг 2023, 19:13
8f43ef2
Код
Авторство
О чём код?
package kernel import ( g "github.com/onsi/ginkgo/v2" o "github.com/onsi/gomega" exutil "github.com/openshift/origin/test/extended/util" ) var _ = g.Describe("[sig-node][Suite:openshift/nodes/realtime][Disruptive] Real time kernel should allow", g.Ordered, func() { defer g.GinkgoRecover() var ( oc = exutil.NewCLI(rtNamespace).AsAdmin() ) g.BeforeAll(func() { failIfNotRT(oc) configureRealtimeTestEnvironment(oc) }) g.BeforeEach(func() { startRtTestPod(oc) }) g.It("pi_stress to run successfully with the fifo algorithm", func() { err := runPiStressFifo(oc) o.Expect(err).NotTo(o.HaveOccurred(), "error occured running pi_stress with the fifo algorithm") }) g.It("pi_stress to run successfully with the round robin algorithm", func() { err := runPiStressRR(oc) o.Expect(err).NotTo(o.HaveOccurred(), "error occured running pi_stress with the round robin algorithm") }) g.It("deadline_test to run successfully", func() { err := runDeadlineTest(oc) o.Expect(err).NotTo(o.HaveOccurred(), "error occured running deadline_test") }) g.AfterEach(func() { cleanupRtTestPod(oc) }) g.AfterAll(func() { cleanupRealtimeTestEnvironment(oc) }) })