Skip to content

Commit f4b9e44

Browse files
committed
Add tracing info about subtests
1 parent 0cce75e commit f4b9e44

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scylla/tests/integration/session/schema_agreement.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ async fn test_schema_await_with_unreachable_node() {
8080
let host_ids = calculate_proxy_host_ids(&proxy_uris, &translation_map, &session);
8181

8282
{
83+
tracing::info!("Sub test 1");
84+
8385
// Case 1: Paused node is a coordinator for DDL.
8486
// DDL needs to fail.
8587
let result = run_some_ddl_with_unreachable_node(
@@ -100,6 +102,8 @@ async fn test_schema_await_with_unreachable_node() {
100102
}
101103

102104
{
105+
tracing::info!("Sub test 1");
106+
103107
// Case 2: Paused node is NOT a coordinator for DDL.
104108
// DDL should succeed, because auto schema agreement only needs available nodes to agree.
105109
let result = run_some_ddl_with_unreachable_node(
@@ -113,6 +117,8 @@ async fn test_schema_await_with_unreachable_node() {
113117
}
114118

115119
{
120+
tracing::info!("Sub test 1");
121+
116122
// Case 3: Paused node is a coordinator for DDL, and is used by control connection.
117123
// It is the same as case 1, but paused node is also control connection.
118124
// DDL needs to fail.
@@ -134,6 +140,8 @@ async fn test_schema_await_with_unreachable_node() {
134140
}
135141

136142
{
143+
tracing::info!("Sub test 1");
144+
137145
// Case 4: Paused node is NOT a coordinator for DDL, but is used by control connection.
138146
// It is the same as case 2, but paused node is also control connection.
139147
// DDL should succeed, because auto schema agreement only needs available nodes to agree,

0 commit comments

Comments
 (0)