Skip to content

Add example (and test) for etcd#2637

Merged
stevenengler merged 1 commit intoshadow:mainfrom
stevenengler:etcd-example
Jan 3, 2023
Merged

Add example (and test) for etcd#2637
stevenengler merged 1 commit intoshadow:mainfrom
stevenengler:etcd-example

Conversation

@stevenengler
Copy link
Copy Markdown
Contributor

This required small changes to the sim since Ubuntu uses etcd 3.3.x.

  • --log-outputs to --log-output
  • etcdctl put to etcdctl set
  • removed model_unblocked_syscall_latency: true (this option exacerbates non-determinism issues in shadow, causing the sim to fail sporadically)

This required small changes to the sim since Ubuntu uses etcd 3.3.x.

- `--log-outputs` to `--log-output`
- `etcdctl put` to `etcdctl set`
- removed `model_unblocked_syscall_latency: true` (this option exacerbates
  non-determinism issues in shadow, causing the sim to fail sporadically)
@stevenengler stevenengler self-assigned this Jan 3, 2023
@stevenengler stevenengler changed the title Added example (and test) for etcd Add example (and test) for etcd Jan 3, 2023
@github-actions github-actions bot added Component: Build Build/install tools and dependencies Component: Documentation In-repository documentation, under docs/ Component: Testing Unit and integration tests and frameworks labels Jan 3, 2023
@codecov
Copy link
Copy Markdown

codecov bot commented Jan 3, 2023

Codecov Report

Base: 67.76% // Head: 67.50% // Decreases project coverage by -0.25% ⚠️

Coverage data is based on head (089e68c) compared to base (6a811e1).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2637      +/-   ##
==========================================
- Coverage   67.76%   67.50%   -0.26%     
==========================================
  Files         201      201              
  Lines       29498    29498              
  Branches     5800     5800              
==========================================
- Hits        19989    19914      -75     
- Misses       4911     4994      +83     
+ Partials     4598     4590       -8     
Flag Coverage Δ
tests 67.50% <ø> (-0.26%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/main/host/descriptor/eventfd.rs 0.00% <0.00%> (-21.22%) ⬇️
src/main/host/syscall/handler/ioctl.rs 40.00% <0.00%> (-20.00%) ⬇️
src/lib/shadow-shim-helper-rs/src/shim_shmem.rs 72.02% <0.00%> (-5.47%) ⬇️
src/main/core/scheduler/pools/bounded.rs 74.50% <0.00%> (-3.14%) ⬇️
src/main/core/logger/shadow_logger.rs 67.25% <0.00%> (-2.93%) ⬇️
src/main/host/descriptor/pipe.rs 82.50% <0.00%> (-2.50%) ⬇️
src/main/utility/shm_cleanup.rs 59.09% <0.00%> (-2.28%) ⬇️
src/main/host/host.rs 80.69% <0.00%> (-0.74%) ⬇️
src/main/host/syscall/handler/socket.rs 67.71% <0.00%> (-0.60%) ⬇️
src/main/host/descriptor/mod.rs 66.80% <0.00%> (-0.42%) ⬇️
... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@stevenengler stevenengler merged commit e8ce0cf into shadow:main Jan 3, 2023
@stevenengler stevenengler deleted the etcd-example branch January 3, 2023 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Build Build/install tools and dependencies Component: Documentation In-repository documentation, under docs/ Component: Testing Unit and integration tests and frameworks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants