CN109298983B - Snapshot characteristic testing method, device, equipment and storage medium - Google Patents

Snapshot characteristic testing method, device, equipment and storage medium Download PDF

Info

Publication number
CN109298983B
CN109298983B CN201811243048.XA CN201811243048A CN109298983B CN 109298983 B CN109298983 B CN 109298983B CN 201811243048 A CN201811243048 A CN 201811243048A CN 109298983 B CN109298983 B CN 109298983B
Authority
CN
China
Prior art keywords
snapshot
test
strategy
data volume
test result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811243048.XA
Other languages
Chinese (zh)
Other versions
CN109298983A (en
Inventor
范义波
刘粉粉
魏显玉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811243048.XA priority Critical patent/CN109298983B/en
Publication of CN109298983A publication Critical patent/CN109298983A/en
Application granted granted Critical
Publication of CN109298983B publication Critical patent/CN109298983B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2268Logging of test results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/84Using snapshots, i.e. a logical point-in-time copy of the data

Abstract

The invention discloses a snapshot characteristic test method, which is applied to a unified storage system and comprises the following steps: when a test trigger condition aiming at the snapshot characteristics of the unified storage system is reached, setting the snapshot characteristics to obtain a set test result; performing snapshot operation on the data volumes one by using each snapshot strategy to obtain a test result of the snapshot strategy; determining whether the data before and after the snapshot are consistent, and obtaining a consistency test result; performing data recovery by using the snapshot of the data volume to obtain a snapshot recovery test result; and generating a snapshot characteristic test log based on the setting test result, the snapshot strategy test result, the consistency test result and the snapshot recovery test result. By applying the technical scheme provided by the embodiment of the invention, the coverage test can be carried out on points which are easy to miss in manual test and points which are easy to ignore in test, so that the test efficiency and the test quality are improved. The invention also discloses a snapshot characteristic testing device, equipment and a storage medium, and has corresponding technical effects.

Description

Snapshot characteristic testing method, device, equipment and storage medium
Technical Field
The present invention relates to the field of test technologies, and in particular, to a snapshot characteristic test method, apparatus, device, and storage medium.
Background
In the big data era, data of all industries are exponentially increased, and the storage demand for mass data is gradually increased. At present, a unified storage product form is formed by using a rear-end disk array mode, and as shown in fig. 2, the problem of mass data storage is well solved.
In the unified storage system, the snapshot characteristic is one of important characteristics, provides the capacity of creating a snapshot for the data volume for the unified storage system, improves the high efficiency and the real-time performance of data protection, and can provide data consistency protection, application protection and application disaster tolerance for the host and application software on the host.
The operation of the snapshot feature directly affects the user experience of the unified storage product, and how to test the snapshot feature and ensure the normal operation of the snapshot feature is a technical problem which needs to be solved by technical personnel in the field at present.
Disclosure of Invention
The invention aims to provide a snapshot characteristic test method, a snapshot characteristic test device, equipment and a storage medium, so as to carry out comprehensive coverage test on snapshot characteristics and ensure the normal operation of the snapshot characteristics in a unified storage system.
In order to solve the technical problems, the invention provides the following technical scheme:
a snapshot characteristic testing method is applied to a unified storage system and comprises the following steps:
when a test trigger condition aiming at the snapshot characteristic of the unified storage system is reached, setting the snapshot characteristic, determining whether the function is effective or not, and obtaining a set test result;
importing a plurality of preset snapshot strategies;
selecting a data volume in the unified storage system, and performing snapshot operation on the data volume by using each snapshot strategy one by one to obtain a test result of the snapshot strategy;
determining whether the data before and after the snapshot are consistent, and obtaining a consistency test result;
performing fault injection operation on the data volume, and performing data recovery by using the snapshot of the data volume to obtain a snapshot recovery test result;
and generating a snapshot characteristic test log based on the setting test result, the snapshot strategy test result, the consistency test result and the snapshot recovery test result.
In an embodiment of the present invention, after performing the fault injection operation on the data volume, the method further includes:
determining whether fault injection is successful;
if so, executing the step of recovering the data by using the snapshot of the data volume.
In one embodiment of the present invention, the method further comprises:
and generating a test report according to the snapshot characteristic test log, and reporting the test report.
In one embodiment of the present invention, the snapshot policy is an interval policy, a daily policy, a weekly policy, a monthly policy, or a delete policy.
A snapshot characteristic testing device is applied to a unified storage system, and comprises:
the setting test module is used for setting the snapshot characteristics when the test trigger conditions aiming at the snapshot characteristics of the unified storage system are reached, determining whether the functions are effective or not and obtaining the setting test results;
the snapshot strategy importing module is used for importing a plurality of preset snapshot strategies;
the snapshot strategy testing module is used for selecting a data volume in the unified storage system, and performing snapshot operation on the data volume by using each snapshot strategy one by one to obtain a snapshot strategy testing result;
the consistency testing module is used for determining whether the data before and after the snapshot are consistent or not and obtaining a consistency testing result;
the snapshot recovery testing module is used for performing fault injection operation on the data volume, performing data recovery by using the snapshot of the data volume and obtaining a snapshot recovery testing result;
and the test log generation module is used for generating a snapshot characteristic test log based on the set test result, the snapshot strategy test result, the consistency test result and the snapshot recovery test result.
In a specific embodiment of the present invention, the snapshot recovery testing module is further configured to:
after the fault injection operation is performed on the data volume, determining whether the fault injection is successful;
if so, executing the step of recovering the data by using the snapshot of the data volume.
In a specific embodiment of the present invention, the present invention further includes a test report reporting module, configured to:
and generating a test report according to the snapshot characteristic test log, and reporting the test report.
In one embodiment of the present invention, the snapshot policy is an interval policy, a daily policy, a weekly policy, a monthly policy, or a delete policy.
A snapshot feature testing apparatus comprising:
a memory for storing a computer program;
a processor for implementing the steps of any of the above snapshot feature testing methods when executing the computer program.
A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the snapshot feature testing method of any one of the above.
By applying the technical scheme provided by the embodiment of the invention, when the test triggering condition aiming at the snapshot characteristic of the unified storage system is reached, the setting test, the snapshot strategy test, the consistency test and the snapshot recovery test are respectively carried out, the corresponding test results are obtained, and the snapshot characteristic test log is generated based on the obtained test results. The test process is automatically carried out, comprehensive coverage test is carried out on the snapshot characteristic, coverage test can be carried out on points which are easy to miss in manual test and points which are easy to ignore in test, and the test efficiency and the test quality are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating an implementation of a snapshot feature testing method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a test frame structure according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a snapshot feature testing apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a snapshot characteristic testing apparatus in an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The core of the invention is to provide a snapshot characteristic test method which is mainly applied to a unified storage system and is used for automatically testing the snapshot characteristics in the unified storage system.
Referring to fig. 1, an implementation flowchart of a snapshot characteristic testing method provided in an embodiment of the present invention is shown, where the method may include the following steps:
s110: when the test triggering condition aiming at the snapshot characteristic of the unified storage system is reached, setting the snapshot characteristic, determining whether the function is effective or not, and obtaining a set test result.
In practical application, a tester can send a test instruction aiming at the snapshot characteristic of the unified storage system according to an actual situation, and when the corresponding test instruction is received, the test trigger condition of the snapshot characteristic is considered to be reached, or when a set period is reached, the test trigger condition of the snapshot characteristic is considered to be reached.
When a test trigger condition for the snapshot feature of the unified storage system is reached, the snapshot feature may be set in the unified storage system, and it may be determined whether the function is in effect. In particular, whether the function is in effect can be determined by testing the command line associated with the snapshot feature. If the function is enabled, it indicates that the snapshot feature of the unified storage system has been initiated. If the function is not effective, the step of setting the snapshot characteristic can be repeatedly executed until the repeated execution times reach a preset threshold value, and prompt information can be output so that a tester can perform problem troubleshooting.
S120: and importing a plurality of preset snapshot strategies.
In the embodiment of the present invention, a plurality of snapshot policies may be preset, and the snapshot policy may be an interval policy, a daily policy, a weekly policy, a monthly policy, or a deletion policy.
And importing a plurality of preset snapshot strategies, and testing each snapshot strategy one by one.
S130: and selecting a data volume in the unified storage system, and performing snapshot operation on the data volume by using each snapshot strategy one by one to obtain a test result of the snapshot strategy.
And selecting a data volume in the unified storage system, and performing snapshot operation on the data volume by using each snapshot strategy one by one. For example, an interval policy is used to perform snapshot operation on the data volume, determine whether the snapshot operation on the data volume is triggered when the interval set by the interval policy is reached, then perform snapshot operation on the data volume using a daily policy, determine whether the snapshot operation on the data volume is triggered daily, and the like.
And performing snapshot operation on the data volume by sequentially using each snapshot strategy, so as to obtain a test result of the snapshot strategy.
S140: and determining whether the data before and after the snapshot are consistent, and obtaining a consistency test result.
Under the condition that the snapshot characteristic is normally operated, the data before and after the snapshot should be kept consistent. After each snapshot strategy is used for carrying out snapshot operation on the data volume in sequence, the consistency of data before and after snapshot can be determined, and a consistency test result is obtained.
S150: and performing fault injection operation on the data volume, and performing data recovery by using the snapshot of the data volume to obtain a snapshot recovery test result.
And calling a fault injection tool to perform fault injection operation on the data volume so as to enable the data volume to be in a fault state. And performing data recovery by using the snapshot of the data volume, determining whether the recovered data is consistent with the data at the corresponding time point of the data volume, and obtaining a snapshot recovery test result.
In an embodiment of the present invention, after performing the fault injection operation on the data volume, the method may further include the following steps:
determining whether fault injection is successful; if yes, continuing to execute the step of data recovery by using the snapshot of the data volume.
After the fault injection operation is performed on the data volume, it may be determined whether the fault injection is successful, specifically, whether the fault injection is successful may be determined by querying a state of the data volume. If successful, the data recovery operation using the snapshot of the data volume may continue to be performed to avoid affecting the data recovery results. If not successful, multiple fault injection operations may be attempted.
S160: and generating a snapshot characteristic test log based on the setting test result, the snapshot strategy test result, the consistency test result and the snapshot recovery test result.
After the above-mentioned steps of operation, a setting test result, a snapshot policy test result, a consistency test result, and a snapshot recovery test result are obtained, and a snapshot characteristic test log is generated based on each obtained test result. And can automatically report the snapshot characteristic test log. For example, the snapshot characteristic test log is reported to a tester or to a control node. Based on the snapshot characteristic test log, the snapshot characteristic of the unified storage system can be improved. Furthermore, a test report can be automatically generated according to the snapshot characteristic test log, and the test report can be automatically reported by using mail service and the like.
In an embodiment of the present invention, before the setting of the snapshot property, the method may further include the steps of:
building a test environment suitable for snapshot characteristics;
after the snapshot characteristic test log is generated, the method further comprises the following steps:
and cleaning the test environment.
In the embodiment of the invention, when the test triggering condition aiming at the snapshot characteristic of the unified storage system is reached, a test environment suitable for the snapshot characteristic can be established firstly, so that the test on the snapshot characteristic is ensured to be carried out smoothly. After the snapshot property test log is generated, the test environment is cleaned to avoid affecting testing of other properties of the unified storage system.
In practical application, a test system can be constructed to be in butt joint with the unified storage system, and the snapshot characteristics of the unified storage system are tested. As shown in FIG. 2, a test system may include an automation control node and a task machine pool comprised of a plurality of task machine nodes. The test system can simultaneously and parallelly butt joint a plurality of unified storage systems for automatic test, and can also carry out parallel test on a plurality of functional modules aiming at the same unified storage system.
First, a pool of task machines may be created using a virtual machine approach. And installing a required operating system for each task machine node, wherein the operating system is a basic operating system of the software package to be tested. Ssh password-free access is configured among the task machine nodes.
Then, an automation control node is created, and a task queue, a script library and yum sources are arranged on the automation control node. Ssh password-free access is also configured between the automation control node and the task machine nodes in the task machine pool.
The testing personnel can submit the testing tasks through the automatic control node, the automatic control node can read the unexecuted testing tasks from the task queue, and then the testing tasks are sent to the task machine pool to select and lock the nodes of the required task machine according to the configuration information of the nodes of the task machine. And the locked task machine node acquires and executes the test script, and uploads a test log generated by the execution of the test script to a specified path of a specified node after the execution of the test script is finished, so that the execution of the test task is finished. One test task corresponds to one test script, each test script is provided with a corresponding test log, and the test log can contain information such as an execution result and execution time.
Specifically, an automation control node may be created by:
(1) creating ssh-key and setting privacy-free information;
(2) constructing a script library (git/svn) and an yum source, and configuring a task queue;
(3) writing the relevant information of the task machine node into a lightweight database;
(4) writing an automatic test configuration file by using a markup language, and indicating the number of nodes of a required task machine and a test script path;
(5) and submitting the test task to a task queue to be executed.
Automated testing of a unified storage system may be performed by:
(1) starting an execution script of the automation control node;
(2) reading a task queue by an execution script, and acquiring information of a task to be executed;
(3) acquiring and locking a required task machine node from a task machine pool;
(4) executing and building an automatic test environment script, wherein the automatic test environment configuration can be obtained from a task configuration file;
(5) acquiring a test script (in a remote script library) on a locked task machine node;
(6) according to the task configuration file, executing a specified test script at the node of the task machine to complete the test of the unified storage system;
(7) after the script is executed, uploading a test log;
(8) and if the execution of the steps fails, entering a failure flow, cleaning a test environment, uploading a test log and releasing the nodes of the task machine.
In the actual testing process, a private client can be mounted on a certain task machine node to automatically execute the test script. The snapshot characteristic test points and the test steps of the embodiment of the invention are written into the test script, for example, in the shell script, and the test script can remotely log in the storage nodes of the unified storage system through ssh to carry out automatic test. Adding a code for starting a private client in an automatic configuration file yaml file, modifying a test system yaml configuration file to determine a task machine node using the private client, adding a path for calling a snapshot characteristic automatic test script in a tasks configuration file, adding a private client rpm package in a test system yum source, adding an automatic test script in a git library, automatically deploying the private client in the test process, and cleaning an installed private client program and configuration items after the test is completed.
By automatically testing the snapshot characteristics of the unified storage system, the time of testers and developers can be saved, and the test efficiency is improved to a certain extent. And the system can help developers to improve the code submission frequency and the product version frequency and shorten the feedback time.
By applying the method provided by the embodiment of the invention, when the test trigger condition aiming at the snapshot characteristic of the unified storage system is reached, the setting test, the snapshot strategy test, the consistency test and the snapshot recovery test are respectively carried out, the corresponding test results are obtained, and the snapshot characteristic test log is generated based on the obtained test results. The test process is automatically carried out, comprehensive coverage test is carried out on the snapshot characteristic, coverage test can be carried out on points which are easy to miss in manual test and points which are easy to ignore in test, and the test efficiency and the test quality are improved.
Corresponding to the above method embodiment, an embodiment of the present invention further provides a snapshot characteristic testing apparatus, which is applied to a unified storage system, and a snapshot characteristic testing apparatus described below and a snapshot characteristic testing method described above may be referred to in a corresponding manner.
Referring to fig. 3, the apparatus includes:
a setting test module 310, configured to set a snapshot characteristic when a test trigger condition for the snapshot characteristic of the unified storage system is met, determine whether a function is in effect, and obtain a setting test result;
a snapshot policy importing module 320, configured to import a plurality of preset snapshot policies;
a snapshot policy test module 330, configured to select a data volume in the unified storage system, and perform snapshot operation on the data volume one by one using each snapshot policy, so as to obtain a snapshot policy test result;
the consistency test module 340 is configured to determine whether data before and after the snapshot is consistent, and obtain a consistency test result;
the snapshot recovery testing module 350 is configured to perform a fault injection operation on the data volume, perform data recovery by using a snapshot of the data volume, and obtain a snapshot recovery testing result;
the test log generating module 360 is configured to generate a snapshot characteristic test log based on the setting test result, the snapshot policy test result, the consistency test result, and the snapshot recovery test result.
By applying the device provided by the embodiment of the invention, when the test trigger condition aiming at the snapshot characteristic of the unified storage system is reached, the setting test, the snapshot strategy test, the consistency test and the snapshot recovery test are respectively carried out, the corresponding test results are obtained, and the snapshot characteristic test log is generated based on the obtained test results. The test process is automatically carried out, comprehensive coverage test is carried out on the snapshot characteristic, coverage test can be carried out on points which are easy to miss in manual test and points which are easy to ignore in test, and the test efficiency and the test quality are improved.
In an embodiment of the present invention, the snapshot recovery testing module 350 is further configured to:
after the fault injection operation is performed on the data volume, determining whether the fault injection is successful;
if so, executing the step of recovering the data by using the snapshot of the data volume.
In a specific embodiment of the present invention, the present invention further includes a test report reporting module, configured to:
and generating a test report according to the snapshot characteristic test log, and reporting the test report.
In one embodiment of the present invention, the snapshot policy is an interval policy, a daily policy, a weekly policy, a monthly policy, or a delete policy.
Corresponding to the above method embodiment, an embodiment of the present invention further provides a snapshot characteristic testing apparatus, as shown in fig. 4, including:
a memory 410 for storing a computer program;
the processor 420 is configured to implement the steps of the snapshot characteristic testing method when executing the computer program.
Corresponding to the above method embodiment, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the snapshot characteristic testing method described above.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The principle and the implementation of the present invention are explained in the present application by using specific examples, and the above description of the embodiments is only used to help understanding the technical solution and the core idea of the present invention. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (10)

1. A snapshot characteristic testing method is applied to a unified storage system, and comprises the following steps:
when a test trigger condition aiming at the snapshot characteristic of the unified storage system is reached, setting the snapshot characteristic, determining whether the function is effective or not, and obtaining a set test result;
importing a plurality of preset snapshot strategies;
selecting a data volume in the unified storage system, and performing snapshot operation on the data volume by using each snapshot strategy one by one to obtain a test result of the snapshot strategy; if the snapshot strategy contains an interval strategy, performing snapshot operation on the data volume by using the interval strategy, determining whether the snapshot operation on the data volume is triggered when the interval set by the interval strategy is reached, and if the snapshot strategy contains a daily strategy, performing snapshot operation on the data volume by using the daily strategy, and determining whether the snapshot operation on the data volume is triggered daily;
determining whether the data before and after the snapshot are consistent, and obtaining a consistency test result;
performing fault injection operation on the data volume, and performing data recovery by using the snapshot of the data volume to obtain a snapshot recovery test result;
and generating a snapshot characteristic test log based on the setting test result, the snapshot strategy test result, the consistency test result and the snapshot recovery test result.
2. The method of claim 1, further comprising, after performing the fault injection operation on the data volume:
determining whether fault injection is successful;
if so, executing the step of recovering the data by using the snapshot of the data volume.
3. The method of claim 1, further comprising:
and generating a test report according to the snapshot characteristic test log, and reporting the test report.
4. The method of any of claims 1 to 3, wherein the snapshot policy is an interval policy, a daily policy, a weekly policy, a monthly policy, or a delete policy.
5. A snapshot characteristic test device, applied to a unified storage system, the device comprising:
the setting test module is used for setting the snapshot characteristics when the test trigger conditions aiming at the snapshot characteristics of the unified storage system are reached, determining whether the functions are effective or not and obtaining the setting test results;
the snapshot strategy importing module is used for importing a plurality of preset snapshot strategies;
the snapshot strategy testing module is used for selecting a data volume in the unified storage system, and performing snapshot operation on the data volume by using each snapshot strategy one by one to obtain a snapshot strategy testing result; if the snapshot strategy contains an interval strategy, performing snapshot operation on the data volume by using the interval strategy, determining whether the snapshot operation on the data volume is triggered when the interval set by the interval strategy is reached, and if the snapshot strategy contains a daily strategy, performing snapshot operation on the data volume by using the daily strategy, and determining whether the snapshot operation on the data volume is triggered daily;
the consistency testing module is used for determining whether the data before and after the snapshot are consistent or not and obtaining a consistency testing result;
the snapshot recovery testing module is used for performing fault injection operation on the data volume, performing data recovery by using the snapshot of the data volume and obtaining a snapshot recovery testing result;
and the test log generation module is used for generating a snapshot characteristic test log based on the set test result, the snapshot strategy test result, the consistency test result and the snapshot recovery test result.
6. The apparatus of claim 5, wherein the snapshot recovery test module is further configured to:
after the fault injection operation is performed on the data volume, determining whether the fault injection is successful;
if so, executing the step of recovering the data by using the snapshot of the data volume.
7. The apparatus of claim 5, further comprising a test report reporting module configured to:
and generating a test report according to the snapshot characteristic test log, and reporting the test report.
8. The apparatus of any of claims 5 to 7, wherein the snapshot policy is an interval policy, a daily policy, a weekly policy, a monthly policy, or a delete policy.
9. A snapshot feature test apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the snapshot property testing method of any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the snapshot property testing method according to one of the claims 1 to 4.
CN201811243048.XA 2018-10-24 2018-10-24 Snapshot characteristic testing method, device, equipment and storage medium Active CN109298983B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811243048.XA CN109298983B (en) 2018-10-24 2018-10-24 Snapshot characteristic testing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811243048.XA CN109298983B (en) 2018-10-24 2018-10-24 Snapshot characteristic testing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109298983A CN109298983A (en) 2019-02-01
CN109298983B true CN109298983B (en) 2022-02-18

Family

ID=65157720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811243048.XA Active CN109298983B (en) 2018-10-24 2018-10-24 Snapshot characteristic testing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109298983B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111400194A (en) * 2020-04-17 2020-07-10 支付宝(杭州)信息技术有限公司 Snapshot creating method, snapshot executing method, snapshot creating device, snapshot executing device and equipment based on test tool

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101162469A (en) * 2007-11-09 2008-04-16 清华大学 Fine grit document and catalogs version management method based on snapshot
CN105653718A (en) * 2016-01-04 2016-06-08 浪潮电子信息产业股份有限公司 Method for ensuring data consistence of database after snapshot in disk snapshot storing environment
CN107918650A (en) * 2017-11-14 2018-04-17 郑州云海信息技术有限公司 A kind of snapshot creation method, device, system and computer-readable recording medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7577806B2 (en) * 2003-09-23 2009-08-18 Symantec Operating Corporation Systems and methods for time dependent data storage and recovery

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101162469A (en) * 2007-11-09 2008-04-16 清华大学 Fine grit document and catalogs version management method based on snapshot
CN105653718A (en) * 2016-01-04 2016-06-08 浪潮电子信息产业股份有限公司 Method for ensuring data consistence of database after snapshot in disk snapshot storing environment
CN107918650A (en) * 2017-11-14 2018-04-17 郑州云海信息技术有限公司 A kind of snapshot creation method, device, system and computer-readable recording medium

Also Published As

Publication number Publication date
CN109298983A (en) 2019-02-01

Similar Documents

Publication Publication Date Title
US9710367B1 (en) Method and system for dynamic test case creation and documentation to the test repository through automation
US20150100829A1 (en) Method and system for selecting and executing test scripts
US20150100832A1 (en) Method and system for selecting and executing test scripts
US20150100830A1 (en) Method and system for selecting and executing test scripts
US20150100831A1 (en) Method and system for selecting and executing test scripts
CN111324522A (en) Automatic test system and method
CN111258591B (en) Program deployment task execution method, device, computer equipment and storage medium
CN110659202A (en) Client automatic testing method and device
CN109460331B (en) Clone characteristic testing method, device, equipment and storage medium
CN109298983B (en) Snapshot characteristic testing method, device, equipment and storage medium
CN106445541B (en) Software construction method, software construction device and software construction system
EP3514680B1 (en) Identification of changes in functional behavior and runtime behavior of a system during maintenance cycles
CN109408334B (en) Audit log characteristic test method, device, equipment and storage medium
US8533544B2 (en) System for tree sequence testing of a device and method for tree sequence testing of a device in a test framework architecture
CN109388420A (en) Application upgrade test method, device, computer equipment and storage medium
US20120239986A1 (en) Script execution with fallback
CN111124724B (en) Node fault testing method and device of distributed block storage system
CN113590494B (en) Automatic testing method for cloud native environment vulnerability
Cardoso et al. Combining state and interface-based robustness testing for openstack components
CN112214407A (en) Data verification control and execution method and corresponding device, equipment and medium
CN111190822A (en) Method and device for automatically testing distributed system software
CN110795142A (en) Configuration file generation method and device
CN114064508A (en) Mobile terminal software testing method and system based on group control technology
CN109144803A (en) A kind of consistency characteristic test method, device, equipment and storage medium
CN115840713A (en) Web test case generation method, system, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant