Project

General

Profile

Bug #4206

history_003_pos relies on exact size of history log and entries

Added by Christopher Siden about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2013-10-14
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

history_003_pos will fail if the log is truncated to anything other than 346
entries.  It should instead test truncating by creating many entries, and then
verifying that not all of them are in the log.

e.g.:
zpool create ...
zfs create ...
while (...); do
    zfs set ...
done

then check that the zpool create is in the history, some zfs sets are in the
history, and the zfs create is not in the history

History

#1

Updated by Christopher Siden about 6 years ago

  • Subject changed from 19290 history_003_pos relies on exact size of history log and entries to history_003_pos relies on exact size of history log and entries
#2

Updated by Christopher Siden almost 6 years ago

  • Status changed from In Progress to Closed
commit f38cb554a534c6df738be3f4d23327e69888e634
Author: John Wren Kennedy <john.kennedy@delphix.com>
Date:   Tue Dec 10 11:09:51 2013

    4206 history_003_pos relies on exact size of history log and entries
    4207 history_008_pos depends on obsolete internal history log message
    4208 Typo in zfs_main.c: "posxiuser" 
    4209 Populate zfstest with the remainder of the STF tests
    Reviewed by: Sonu Pillai <sonu.pillai@delphix.com>
    Reviewed by: Will Guyette <will.guyette@delphix.com>
    Reviewed by: Eric Diven <eric.diven@delphix.com>
    Reviewed by: Christopher Siden <christopher.siden@delphix.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom PDF