Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed up dbench testing by installing RPMs and not building dbench from source #36

Merged
merged 2 commits into from May 11, 2018

Conversation

nixpanic
Copy link

There is no need to build dbench from source, RPMs are available.

While updating this test, I noticed that the dbench runs are on the local filesystem, and not on the NFS exports. The 2nd patch in this PR addresses that by creating a workdir for each test, and passing the --directory option to the dbench executable.

There is no need to build dbench from source, it is already available
from the CentOS Storage SIG in the testing repository.

dbench installed from the RPM expects /usr/share/client.txt, but it is
cleaner to pass it as a commandline argument.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
It seems that the dbench tests run in the current working directory, and
not on the mounted NFS exports. Pass the --directory option to dbench so
that the tests are executed over NFS and not in the local filesystem.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
@nixpanic
Copy link
Author

The manual started test-run at https://ci.centos.org/job/nfs_ganesha_dbench/344/ succeeded.

@nixpanic nixpanic merged commit eec63a0 into nfs-ganesha:centos-ci May 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants