Skip to content

Commit 114e076

Browse files
authored
Bump submodule and fix TestKeyCopyAsync test (#119)
Signed-off-by: currantw <[email protected]>
1 parent 52b21f8 commit 114e076

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

rust/src/ffi.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,12 @@ pub(crate) unsafe fn create_connection_request(
112112
None
113113
},
114114
client_name: unsafe { ptr_to_opt_str(config.client_name) },
115+
lib_name: option_env!("GLIDE_NAME").map(|s| s.to_string()),
115116
authentication_info: if config.has_authentication_info {
116117
Some(AuthenticationInfo {
117118
username: unsafe { ptr_to_opt_str(config.authentication_info.username) },
118119
password: unsafe { ptr_to_opt_str(config.authentication_info.password) },
120+
iam_config: None,
119121
})
120122
} else {
121123
None
@@ -149,6 +151,7 @@ pub(crate) unsafe fn create_connection_request(
149151
None
150152
},
151153
lazy_connect: config.lazy_connect,
154+
refresh_topology_from_initial_nodes: false,
152155
// TODO below
153156
periodic_checks: None,
154157
pubsub_subscriptions: None,

tests/Valkey.Glide.IntegrationTests/ClusterClientTests.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,8 +572,9 @@ public async Task TestKeyCopyAsync(GlideClusterClient client)
572572
"COPY command with database parameter for Cluster Client requires Valkey 9.0+ with multi-database support"
573573
);
574574

575-
string sourceKey = Guid.NewGuid().ToString();
576-
string destKey = Guid.NewGuid().ToString();
575+
string hashTag = Guid.NewGuid().ToString();
576+
string sourceKey = $"{{hashTag}}{Guid.NewGuid()}";
577+
string destKey = $"{{hashTag}}{Guid.NewGuid()}";
577578
string value = "test_value";
578579

579580
// Set a key in the current database

valkey-glide

Submodule valkey-glide updated 354 files

0 commit comments

Comments
 (0)