Skip to content

Commit 63940d8

Browse files
authored
Added 5.3.4 release notes (#408)
* Added release notes for 5.3.4 * Fixed Viridian tests
1 parent d15e441 commit 63940d8

File tree

3 files changed

+37
-11
lines changed

3 files changed

+37
-11
lines changed

base/commands/viridian/viridian_it_test.go

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,12 @@ func listClusters_InteractiveTest(t *testing.T) {
132132
tcx.WithShell(ctx, func(tcx it.TestContext) {
133133
tcx.WithReset(func() {
134134
tcx.WriteStdin([]byte("\\viridian list-clusters\n"))
135-
tcx.AssertStderrContains("OK")
135+
tcx.AssertStdoutContains("OK")
136136
})
137137
c := createOrGetClusterWithState(ctx, tcx, "RUNNING")
138138
tcx.WithReset(func() {
139139
tcx.WriteStdin([]byte("\\viridian list-clusters\n"))
140-
tcx.AssertStderrContains("OK")
140+
tcx.AssertStdoutContains("OK")
141141
tcx.AssertStdoutContains(c.ID)
142142
})
143143
})
@@ -166,8 +166,7 @@ func createCluster_InteractiveTest(t *testing.T) {
166166
tcx.WriteStdinf("\\viridian create-cluster --development --verbose --name %s \n", clusterName)
167167
time.Sleep(10 * time.Second)
168168
check.Must(waitState(ctx, tcx, "", "RUNNING"))
169-
tcx.AssertStdoutContains(fmt.Sprintf("Imported configuration: %s", clusterName))
170-
tcx.AssertStderrContains("OK")
169+
tcx.AssertStdoutContains("OK")
171170
require.True(t, paths.Exists(paths.ResolveConfigDir(clusterName)))
172171
_ = check.MustValue(tcx.Viridian.GetClusterWithName(ctx, clusterName))
173172

@@ -180,7 +179,7 @@ func stopCluster_NonInteractiveTest(t *testing.T) {
180179
viridianTester(t, func(ctx context.Context, tcx it.TestContext) {
181180
c := createOrGetClusterWithState(ctx, tcx, "RUNNING")
182181
tcx.CLCExecute(ctx, "viridian", "stop-cluster", c.ID)
183-
tcx.AssertStderrContains("OK")
182+
tcx.AssertStdoutContains("OK")
184183
check.Must(waitState(ctx, tcx, c.ID, "STOPPED"))
185184
})
186185
}
@@ -192,7 +191,7 @@ func stopCluster_InteractiveTest(t *testing.T) {
192191
tcx.WithReset(func() {
193192
c := createOrGetClusterWithState(ctx, tcx, "RUNNING")
194193
tcx.WriteStdinf("\\viridian stop-cluster %s\n", c.Name)
195-
tcx.AssertStderrContains("OK")
194+
tcx.AssertStdoutContains("OK")
196195
check.Must(waitState(ctx, tcx, c.ID, "STOPPED"))
197196
})
198197
})
@@ -215,7 +214,7 @@ func resumeCluster_InteractiveTest(t *testing.T) {
215214
tcx.WithReset(func() {
216215
c := createOrGetClusterWithState(ctx, tcx, "STOPPED")
217216
tcx.WriteStdinf("\\viridian resume-cluster %s\n", c.Name)
218-
tcx.AssertStderrContains("OK")
217+
tcx.AssertStdoutContains("OK")
219218
check.Must(waitState(ctx, tcx, c.ID, "RUNNING"))
220219
})
221220
})
@@ -240,7 +239,7 @@ func getCluster_InteractiveTest(t *testing.T) {
240239
tcx.WithReset(func() {
241240
c := createOrGetClusterWithState(ctx, tcx, "")
242241
tcx.WriteStdinf("\\viridian get-cluster %s\n", c.Name)
243-
tcx.AssertStderrContains("OK")
242+
tcx.AssertStdoutContains("OK")
244243
tcx.AssertStdoutContains(c.Name)
245244
tcx.AssertStdoutContains(c.ID)
246245
})
@@ -269,7 +268,7 @@ func deleteCluster_InteractiveTest(t *testing.T) {
269268
tcx.WriteStdinf("\\viridian delete-cluster %s\n", c.Name)
270269
tcx.AssertStdoutContains("(y/n)")
271270
tcx.WriteStdin([]byte("y"))
272-
tcx.AssertStderrContains("OK")
271+
tcx.AssertStdoutContains("OK")
273272
require.Eventually(t, func() bool {
274273
_, err := tcx.Viridian.GetCluster(ctx, c.ID)
275274
return err == nil
@@ -287,7 +286,7 @@ func downloadLogs_NonInteractiveTest(t *testing.T) {
287286
c := createOrGetClusterWithState(ctx, tcx, "RUNNING")
288287
tcx.WithReset(func() {
289288
tcx.CLCExecute(ctx, "viridian", "download-logs", c.ID, "--output-dir", dir)
290-
tcx.AssertStderrContains("OK")
289+
tcx.AssertStdoutContains("OK")
291290
require.FileExists(t, paths.Join(dir, "node-1.log"))
292291
})
293292
})
@@ -303,7 +302,7 @@ func downloadLogs_InteractiveTest(t *testing.T) {
303302
tcx.WithReset(func() {
304303
c := createOrGetClusterWithState(ctx, tcx, "RUNNING")
305304
tcx.WriteStdinf("\\viridian download-logs %s -o %s\n", c.Name, dir)
306-
tcx.AssertStderrContains("OK")
305+
tcx.AssertStdoutContains("OK")
307306
require.FileExists(t, paths.Join(dir, "node-1.log"))
308307
})
309308
})

docs/modules/ROOT/nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
* xref:phone-homes.adoc[]
4141
4242
.Release Notes
43+
* xref:release-notes-5.3.4.adoc[5.3.4]
4344
* xref:release-notes-5.3.3.adoc[5.3.3]
4445
* xref:release-notes-5.3.2.adoc[5.3.2]
4546
* xref:release-notes-5.3.1.adoc[5.3.1]
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
= 5.3.4 Release Notes
2+
3+
== New Features
4+
5+
* Added the `serializer generate` command that creates Java Compact Serialization classess from the given schema.
6+
* Added an update checker which displays a notification in the interactive mode. You can disable it by setting the `CLC_SKIP_SERVER_VERSION_CHECK` to `1`.
7+
* In order to make an informed decision about CLC improvements and features, we started to collect non-identifiable telemetry. You can disable this by setting `HZ_PHONE_HOME_ENABLED` environment variable to `false`. You can find more information in the xref:phone-homes.adoc[documentation].
8+
* CLC can now be installed using an install script on Linux and macOS systems. Just run `curl https://hazelcast.com/clc/install.sh | bash`.
9+
10+
== Improvements
11+
12+
* Improved configuration selector.
13+
* If there's a single configuration, do not display the configuration selector and use that configuration automatically.
14+
* Updated `job submit` command to deduce the job ID.
15+
16+
== Changes
17+
18+
* Confirmation is required from the user when `demo generate-data` command runs.
19+
20+
== Fixes
21+
22+
* CLC interactive prompt doesn't change after config wizard.
23+
* Readline panic in the interactive mode if terminal width cannot be determined and left arrow is pressed.
24+
* Map proxy is created when a `map` command is used.
25+
* "connecting to cluster" prompt is not shown when `object list` command runs.
26+
* Fixed `list add` command.

0 commit comments

Comments
 (0)