Skip to content

Commit 4e135de

Browse files
committed
CI check: don't raise
1 parent c0923e1 commit 4e135de

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

tests/system/test_system.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,6 @@ def test_batch_insert_then_read(self):
917917
self.assertEqual(len(span_list), 4)
918918
except AssertionError:
919919
logger.error(pformat(span_list))
920-
raise
921920
try:
922921
self.assertSpanAttributes(
923922
"CloudSpanner.GetSession",
@@ -929,7 +928,6 @@ def test_batch_insert_then_read(self):
929928
)
930929
except AssertionError:
931930
logger.error(pformat(span_list))
932-
raise
933931
try:
934932
self.assertSpanAttributes(
935933
"CloudSpanner.Commit",
@@ -941,7 +939,6 @@ def test_batch_insert_then_read(self):
941939
)
942940
except AssertionError:
943941
logger.error(pformat(span_list))
944-
raise
945942
try:
946943
self.assertSpanAttributes(
947944
"CloudSpanner.GetSession",
@@ -953,7 +950,6 @@ def test_batch_insert_then_read(self):
953950
)
954951
except AssertionError:
955952
logger.error(pformat(span_list))
956-
raise
957953
try:
958954
self.assertSpanAttributes(
959955
"CloudSpanner.ReadOnlyTransaction",
@@ -969,7 +965,6 @@ def test_batch_insert_then_read(self):
969965
)
970966
except AssertionError:
971967
logger.error(pformat(span_list))
972-
raise
973968

974969
def test_batch_insert_then_read_string_array_of_string(self):
975970
TABLE = "string_plus_array_of_string"
@@ -1081,7 +1076,6 @@ def test_transaction_read_and_insert_then_rollback(self):
10811076
self.assertEqual(len(span_list), 8)
10821077
except AssertionError:
10831078
logger.error(pformat(span_list))
1084-
raise
10851079
try:
10861080
self.assertSpanAttributes(
10871081
"CloudSpanner.CreateSession",
@@ -1090,7 +1084,6 @@ def test_transaction_read_and_insert_then_rollback(self):
10901084
)
10911085
except AssertionError:
10921086
logger.error(pformat(span_list))
1093-
raise
10941087
try:
10951088
self.assertSpanAttributes(
10961089
"CloudSpanner.GetSession",
@@ -1102,7 +1095,6 @@ def test_transaction_read_and_insert_then_rollback(self):
11021095
)
11031096
except AssertionError:
11041097
logger.error(pformat(span_list))
1105-
raise
11061098
try:
11071099
self.assertSpanAttributes(
11081100
"CloudSpanner.Commit",
@@ -1114,7 +1106,6 @@ def test_transaction_read_and_insert_then_rollback(self):
11141106
)
11151107
except AssertionError:
11161108
logger.error(pformat(span_list))
1117-
raise
11181109
try:
11191110
self.assertSpanAttributes(
11201111
"CloudSpanner.BeginTransaction",
@@ -1123,7 +1114,6 @@ def test_transaction_read_and_insert_then_rollback(self):
11231114
)
11241115
except AssertionError:
11251116
logger.error(pformat(span_list))
1126-
raise
11271117
try:
11281118
self.assertSpanAttributes(
11291119
"CloudSpanner.ReadOnlyTransaction",
@@ -1139,7 +1129,6 @@ def test_transaction_read_and_insert_then_rollback(self):
11391129
)
11401130
except AssertionError:
11411131
logger.error(pformat(span_list))
1142-
raise
11431132
try:
11441133
self.assertSpanAttributes(
11451134
"CloudSpanner.ReadOnlyTransaction",
@@ -1155,7 +1144,6 @@ def test_transaction_read_and_insert_then_rollback(self):
11551144
)
11561145
except AssertionError:
11571146
logger.error(pformat(span_list))
1158-
raise
11591147
try:
11601148
self.assertSpanAttributes(
11611149
"CloudSpanner.Rollback",
@@ -1164,7 +1152,6 @@ def test_transaction_read_and_insert_then_rollback(self):
11641152
)
11651153
except AssertionError:
11661154
logger.error(pformat(span_list))
1167-
raise
11681155
try:
11691156
self.assertSpanAttributes(
11701157
"CloudSpanner.ReadOnlyTransaction",
@@ -1180,7 +1167,6 @@ def test_transaction_read_and_insert_then_rollback(self):
11801167
)
11811168
except AssertionError:
11821169
logger.error(pformat(span_list))
1183-
raise
11841170

11851171
def _transaction_read_then_raise(self, transaction):
11861172
rows = list(transaction.read(self.TABLE, self.COLUMNS, self.ALL))
@@ -1532,7 +1518,6 @@ def unit_of_work(transaction, self):
15321518
self.assertEqual(len(span_list), 6)
15331519
except AssertionError:
15341520
logger.error(pformat(span_list))
1535-
raise
15361521
try:
15371522
self.assertEqual(
15381523
list(map(lambda span: span.name, span_list)),
@@ -1547,14 +1532,12 @@ def unit_of_work(transaction, self):
15471532
)
15481533
except AssertionError:
15491534
logger.error(pformat(span_list))
1550-
raise
15511535
try:
15521536
for span in span_list[2:-1]:
15531537
self.assertEqual(span.context.trace_id, span_list[-1].context.trace_id)
15541538
self.assertEqual(span.parent.span_id, span_list[-1].context.span_id)
15551539
except AssertionError:
15561540
logger.error(pformat(span_list))
1557-
raise
15581541

15591542
def test_execute_partitioned_dml(self):
15601543
# [START spanner_test_dml_partioned_dml_update]

0 commit comments

Comments
 (0)