Skip to content

Commit 1b6460c

Browse files
author
Blaise Dias
committed
chore: update e2e-fio
Regularise command enum members (do not mix with #defines) Update comments in e2e-fio.c for clarity Updated readme bump version number as code has changed a tuiny bit Change symbol KW_MAKEFILE to KW_CREATEFILE the string associated with the symbol will be retained as "makefile" Signed-off-by: Blaise Dias <[email protected]>
1 parent 0be6af6 commit 1b6460c

File tree

4 files changed

+102
-33
lines changed

4 files changed

+102
-33
lines changed

common/e2e_config/e2e_config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ type E2EConfig struct {
208208
InstallLoki bool `yaml:"installLoki" env-default:"true" env:"install_loki"`
209209
InstallHaModeEtcd bool `yaml:"installHaModeEtcd" env-default:"false" env:"e2e_etcd_ha_mode"`
210210
LokiStatefulsetOnControlNode bool `yaml:"lokiOnControlNode" env-default:"true" env:"loki_on_control_node"`
211-
E2eFioImage string `yaml:"e2eFioImage" env-default:"openebs/e2e-fio:v3.38-e2e-0" env:"e2e_fio_image"`
211+
E2eFioImage string `yaml:"e2eFioImage" env-default:"openebs/e2e-fio:v3.38-e2e-1" env:"e2e_fio_image"`
212212
SetSafeMountAlways bool `yaml:"setSafeMountAlways" env-default:"false" env:"safe_mount_always"`
213213
// This is an advisory setting for individual tests
214214
// If set to true - typically during test development - tests with multiple 'It' clauses should defer asserts till after

tools/e2e-fio/README.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
# Mayastor E2E fio test pod
1+
# Mayastor E2E fio test pod image
22
## Introduction
3-
Derived from `dmonakhov/alpine-fio`
3+
This image is derived from `alpine`
4+
5+
It includes fio, which is invoked by the wrapper program `e2e_fio`
6+
7+
e2e_fio is written in C to facilitate low level control and to keep the size small.
8+
Reduced size makes it possible to run more instances of the test pod with a given memory constraint.
49

510
### Command line options
611
* `sleep <sleep seconds> ;`
@@ -41,8 +46,6 @@ Thus allows developer to exec a shell on the pod and examine the pod.
4146

4247
Execution will only complete after all forked processes (if any) have completed as well as inline sleep and signal generation actions.
4348

44-
For legacy compatibility where implicit start of a new option is detected
45-
4649
### Exit value
4750
* If `exitv` is specified that is *always* returned.
4851
* 0 if all instances of forked processes ran successfully exit value is 0

tools/e2e-fio/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# existing semantics.
1212
set -e
1313
IMAGE="openebs/e2e-fio"
14-
TAG="v3.38-e2e-0"
14+
TAG="v3.38-e2e-1"
1515
registry=""
1616
tag_as_latest=""
1717

0 commit comments

Comments
 (0)