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

slab metrics unit test: test_metrics_flush_basic #56

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

TomekIdczak97
Copy link

@TomekIdczak97 TomekIdczak97 commented Jul 22, 2019

Simple slab metrics unit test for pmem: test_metrics_flush_basic
Failure - assertion message:
Saved:

STATS item_alloc 2
STATS item_dealloc 2
STATS item_link 2
STATS item_unlink 2

After restart:

STATS item_alloc 0
STATS item_dealloc 0
STATS item_link 0
STATS item_unlink 0


This change is Reviewable

Copy link

@PatKamin PatKamin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @TomekIdczak97)


test/storage/slab_pmem/check_slab_pmem.c, line 1120 at r1 (raw file):

#define VAL1 "val1"
#define KEY2 "key2"
#define VAL2 "val2"

nit:
Add a new line below defines to improve code readability.

Copy link

@PatKamin PatKamin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewable status: 0 of 1 files reviewed, all discussions resolved

@TomekIdczak97 TomekIdczak97 force-pushed the test_metrics_flush_basic branch 2 times, most recently from 4414e1c to 4bc9bbc Compare August 12, 2019 06:42
@TomekIdczak97 TomekIdczak97 force-pushed the test_metrics_flush_basic branch 3 times, most recently from cd08ab6 to f8bd66c Compare August 20, 2019 09:09
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.

2 participants