diff options
author | Feng Pan <fpan@redhat.com> | 2017-09-17 22:47:51 -0400 |
---|---|---|
committer | Feng Pan <fpan@redhat.com> | 2017-09-17 23:09:45 -0400 |
commit | dcda81db3eb61bdf69751ce6963b564abf7b7e0c (patch) | |
tree | dbef777092fad9e863f12f7486eb4f92487d7d79 /spec/acceptance | |
parent | a96d2dfb135f93a74f070d1c27374351f5b064a4 (diff) |
Add vhost-user configurations
This patch adds capability for configuring the following options in
vhost-user section:
- coalesce-frames
- coalesce-time
- dont-dump-memory
JIRA: PUP-8
Change-Id: I906e7d3c937d2f1133e2bfc0838c16063b535b87
Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'spec/acceptance')
-rw-r--r-- | spec/acceptance/fdio_spec.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/spec/acceptance/fdio_spec.rb b/spec/acceptance/fdio_spec.rb index 18e54b0..68f2013 100644 --- a/spec/acceptance/fdio_spec.rb +++ b/spec/acceptance/fdio_spec.rb @@ -31,13 +31,16 @@ describe 'fdio' do end - context 'pinning' do + context 'with options' do it 'should work with no errors' do pp= <<-EOS class { '::fdio': repo_branch => 'stable.1707', vpp_cpu_main_core => '1', vpp_cpu_corelist_workers => '2', + vpp_vhostuser_coalesce_frames => 32, + vpp_vhostuser_coalesce_time => 0.05, + vpp_vhostuser_dont_dump_memory => true, } EOS @@ -48,7 +51,9 @@ describe 'fdio' do describe file('/etc/vpp/startup.conf') do its(:content) { should match /main-core\s+1/ } its(:content) { should match /corelist-workers\s+2/ } + its(:content) { should match /coalesce-frames\s+32/ } + its(:content) { should match /coalesce-time\s+0.05/ } + its(:content) { should match /dont-dump-memory/ } end - end end |