forked from openzfs/zfs
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Emit history events for 'zpool create'
History commands and events were being suppressed for the 'zpool create' command since the history object did not yet exist. Create the object earlier so this history doesn't get lost. Split the pool_destroy event in to pool_destroy and pool_export so they may be distinguished. Updated events_001_pos and events_002_pos test cases. They now check for the expected history events and were reworked to be more reliable. NOTE: Custom event runfile added to verify reliability. This will be removed in the final merge. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue openzfs#6486
- Loading branch information
1 parent
6044cf5
commit 8077ea8
Showing
11 changed files
with
182 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# | ||
# This file and its contents are supplied under the terms of the | ||
# Common Development and Distribution License ("CDDL"), version 1.0. | ||
# You may only use this file in accordance with the terms of version | ||
# 1.0 of the CDDL. | ||
# | ||
# A full copy of the text of the CDDL should have accompanied this | ||
# source. A copy of the CDDL is also available via the Internet at | ||
# http://www.illumos.org/license/CDDL. | ||
# | ||
|
||
[DEFAULT] | ||
pre = setup | ||
quiet = False | ||
pre_user = root | ||
user = root | ||
timeout = 600 | ||
post_user = root | ||
post = cleanup | ||
outputdir = /var/tmp/test_results | ||
|
||
[tests/functional/events] | ||
tests = ['events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos', 'events_001_pos', 'events_002_pos', 'events_001_pos', | ||
'events_002_pos'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.