|
1 |
| -# Preparation: Shut server down. |
2 |
| -# |
3 |
| -# 1. Try restart after setting an invalid version. |
4 |
| -# ------------------------------------------------ |
5 |
| -# 1.1 Create bootstrap file. |
6 |
| -# 1.2 First start the server with --initialize, and update the version. |
7 |
| -# 1.3 Restart the server against DDIR - should fail. |
8 |
| -# 1.4 Look for warning. |
9 |
| -# Dictionary version warning found 1 times. |
10 |
| -# 1.5 Delete bootstrap file, log file and datadir. |
11 | 1 | #
|
12 |
| -# 2. Try restart after dropping the version table. |
13 |
| -# ------------------------------------------------ |
14 |
| -# 2.1 Create bootstrap file. |
15 |
| -# 2.2 First start the server with --initialize, and drop the version table: Should fail. |
16 |
| -# 2.3 Look for error. |
17 |
| -# Drop table error found 1 times. |
18 |
| -# 2.4 Restart the server against DDIR - should fail. |
19 |
| -# 2.5 Look for error. |
20 |
| -# Data Dictionary initialization error found 1 times. |
21 |
| -# 2.6 Delete bootstrap file, log file and datadir. |
| 2 | +# This file contains bootstrap test cases that do not |
| 3 | +# need to be run with a debug build. See also the |
| 4 | +# test file 'dd_bootstrap_debug.test' for debug |
| 5 | +# test cases. |
22 | 6 | #
|
23 |
| -# 3. Try restart after dropping the tables table. |
24 |
| -# ----------------------------------------------- |
25 |
| -# 3.1 Create bootstrap file. |
26 |
| -# 3.2 First start the server with --initialize, and drop the tables table: Should fail. |
27 |
| -# 3.3 Look for error. |
28 |
| -# Drop table error found 1 times. |
29 |
| -# 3.4 Restart the server against DDIR - should fail. |
30 |
| -# 3.5 Look for error. |
31 |
| -# Data Dictionary initialization error found 1 times. |
32 |
| -# 3.6 Delete bootstrap file, log file and datadir. |
| 7 | +# Preparation: Shut server down. |
33 | 8 | #
|
34 |
| -# 4. Try restart after dropping the time_zone_transition_type table. |
| 9 | +# 1. Try restart after dropping the time_zone_transition_type table. |
35 | 10 | # ------------------------------------------------------------------
|
36 |
| -# 4.1 Create bootstrap file. |
37 |
| -# 4.2 First start the server with --initialize, and drop the time_zone_transition_type table. |
38 |
| -# 4.3 Restart the server against DDIR - should succeed. |
39 |
| -# 4.4 Shut server down. |
40 |
| -# 4.5 Look for warning. |
| 11 | +# 1.1 Create bootstrap file. |
| 12 | +# 1.2 First start the server with --initialize, and drop the time_zone_transition_type table. |
| 13 | +# 1.3 Restart the server against DDIR - should succeed. |
| 14 | +# 1.4 Shut server down. |
| 15 | +# 1.5 Look for warning. |
41 | 16 | # Time zone table warning found 1 times.
|
42 |
| -# 4.6 Delete bootstrap file, log file and datadir. |
| 17 | +# 1.6 Delete bootstrap file, log file and datadir. |
43 | 18 | #
|
44 |
| -# 5. Try restart after deleting the version tablespace. |
| 19 | +# 2. Try restart after deleting the version tablespace. |
45 | 20 | # -----------------------------------------------------
|
46 |
| -# 5.1 First start the server with --initialize. |
47 |
| -# 5.2 Delete the physical tablespace file for mysql.version. |
48 |
| -# 5.3 Restart the server against DDIR - should fail. |
49 |
| -# 5.4 Look for error. |
| 21 | +# 2.1 First start the server with --initialize. |
| 22 | +# 2.2 Delete the physical tablespace file for mysql.version. |
| 23 | +# 2.3 Restart the server against DDIR - should fail. |
| 24 | +# 2.4 Look for error. |
50 | 25 | # Tablespace error found 1 times.
|
51 |
| -# 5.5 Delete log file and datadir. |
52 |
| -# |
53 |
| -# 6. Try restart after altering the schemata table. |
54 |
| -# ------------------------------------------------- |
55 |
| -# 6.1 Create bootstrap file. |
56 |
| -# 6.2 First start the server with --initialize, and alter the schemata table. |
57 |
| -# 6.3 Restart the server against DDIR. |
58 |
| -# 6.4 Connect as root. |
59 |
| -# 6.5 Verify that the modified table is present. |
60 |
| -SELECT comment FROM mysql.tables WHERE name='schemata'; |
61 |
| -comment |
62 |
| -Altered table |
63 |
| -# 6.6 Shut server down. |
64 |
| -# 6.7 Close the test connection. |
65 |
| -# 6.8 Delete bootstrap file, log file and datadir. |
| 26 | +# 2.5 Delete log file and datadir. |
66 | 27 | #
|
67 |
| -# 7. Try restart on a non-existing datadir. |
| 28 | +# 3. Try restart on a non-existing datadir. |
68 | 29 | # -----------------------------------------
|
69 |
| -# 7.1 Restart the server against non-existing DDIR - should fail. |
70 |
| -# 7.2 Look for error. |
| 30 | +# 3.1 Restart the server against non-existing DDIR - should fail. |
| 31 | +# 3.2 Look for error. |
71 | 32 | # Datadir error found 1 times.
|
72 |
| -# 7.3 Delete log file and datadir. |
| 33 | +# 3.3 Delete log file and datadir. |
73 | 34 | #
|
74 |
| -# 8. Try restart on an empty datadir (non-existing mysql dir). |
| 35 | +# 4. Try restart on an empty datadir (non-existing mysql dir). |
75 | 36 | # ------------------------------------------------------------
|
76 |
| -# 8.1 Restart the server against existing but empty DDIR - should fail. |
77 |
| -# 8.2 Look for error. |
| 37 | +# 4.1 Restart the server against existing but empty DDIR - should fail. |
| 38 | +# 4.2 Look for error. |
78 | 39 | # InnoDB file open error found 1 times.
|
79 |
| -# 8.3 Delete log file and datadir. |
| 40 | +# 4.3 Delete log file and datadir. |
80 | 41 | #
|
81 |
| -# 9. Try restart on an empty mysql dir. |
| 42 | +# 5. Try restart on an empty mysql dir. |
82 | 43 | # -------------------------------------
|
83 |
| -# 9.1 Restart the server against existing but empty mysql dir - should fail. |
84 |
| -# 9.2 Look for error. |
| 44 | +# 5.1 Restart the server against existing but empty mysql dir - should fail. |
| 45 | +# 5.2 Look for error. |
85 | 46 | # InnoDB file open error found 1 times.
|
86 |
| -# 9.3 Delete log file and datadir. |
| 47 | +# 5.3 Delete log file and datadir. |
87 | 48 | #
|
88 | 49 | # Cleanup: Restarting the server against default datadir.
|
0 commit comments