Skip to content

Commit

Permalink
CI check: don't raise
Browse files Browse the repository at this point in the history
  • Loading branch information
c24t committed Dec 22, 2020
1 parent c0923e1 commit 4e135de
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions tests/system/test_system.py
Expand Up @@ -917,7 +917,6 @@ def test_batch_insert_then_read(self):
self.assertEqual(len(span_list), 4)
except AssertionError:
logger.error(pformat(span_list))
raise
try:
self.assertSpanAttributes(
"CloudSpanner.GetSession",
Expand All @@ -929,7 +928,6 @@ def test_batch_insert_then_read(self):
)
except AssertionError:
logger.error(pformat(span_list))
raise
try:
self.assertSpanAttributes(
"CloudSpanner.Commit",
Expand All @@ -941,7 +939,6 @@ def test_batch_insert_then_read(self):
)
except AssertionError:
logger.error(pformat(span_list))
raise
try:
self.assertSpanAttributes(
"CloudSpanner.GetSession",
Expand All @@ -953,7 +950,6 @@ def test_batch_insert_then_read(self):
)
except AssertionError:
logger.error(pformat(span_list))
raise
try:
self.assertSpanAttributes(
"CloudSpanner.ReadOnlyTransaction",
Expand All @@ -969,7 +965,6 @@ def test_batch_insert_then_read(self):
)
except AssertionError:
logger.error(pformat(span_list))
raise

def test_batch_insert_then_read_string_array_of_string(self):
TABLE = "string_plus_array_of_string"
Expand Down Expand Up @@ -1081,7 +1076,6 @@ def test_transaction_read_and_insert_then_rollback(self):
self.assertEqual(len(span_list), 8)
except AssertionError:
logger.error(pformat(span_list))
raise
try:
self.assertSpanAttributes(
"CloudSpanner.CreateSession",
Expand All @@ -1090,7 +1084,6 @@ def test_transaction_read_and_insert_then_rollback(self):
)
except AssertionError:
logger.error(pformat(span_list))
raise
try:
self.assertSpanAttributes(
"CloudSpanner.GetSession",
Expand All @@ -1102,7 +1095,6 @@ def test_transaction_read_and_insert_then_rollback(self):
)
except AssertionError:
logger.error(pformat(span_list))
raise
try:
self.assertSpanAttributes(
"CloudSpanner.Commit",
Expand All @@ -1114,7 +1106,6 @@ def test_transaction_read_and_insert_then_rollback(self):
)
except AssertionError:
logger.error(pformat(span_list))
raise
try:
self.assertSpanAttributes(
"CloudSpanner.BeginTransaction",
Expand All @@ -1123,7 +1114,6 @@ def test_transaction_read_and_insert_then_rollback(self):
)
except AssertionError:
logger.error(pformat(span_list))
raise
try:
self.assertSpanAttributes(
"CloudSpanner.ReadOnlyTransaction",
Expand All @@ -1139,7 +1129,6 @@ def test_transaction_read_and_insert_then_rollback(self):
)
except AssertionError:
logger.error(pformat(span_list))
raise
try:
self.assertSpanAttributes(
"CloudSpanner.ReadOnlyTransaction",
Expand All @@ -1155,7 +1144,6 @@ def test_transaction_read_and_insert_then_rollback(self):
)
except AssertionError:
logger.error(pformat(span_list))
raise
try:
self.assertSpanAttributes(
"CloudSpanner.Rollback",
Expand All @@ -1164,7 +1152,6 @@ def test_transaction_read_and_insert_then_rollback(self):
)
except AssertionError:
logger.error(pformat(span_list))
raise
try:
self.assertSpanAttributes(
"CloudSpanner.ReadOnlyTransaction",
Expand All @@ -1180,7 +1167,6 @@ def test_transaction_read_and_insert_then_rollback(self):
)
except AssertionError:
logger.error(pformat(span_list))
raise

def _transaction_read_then_raise(self, transaction):
rows = list(transaction.read(self.TABLE, self.COLUMNS, self.ALL))
Expand Down Expand Up @@ -1532,7 +1518,6 @@ def unit_of_work(transaction, self):
self.assertEqual(len(span_list), 6)
except AssertionError:
logger.error(pformat(span_list))
raise
try:
self.assertEqual(
list(map(lambda span: span.name, span_list)),
Expand All @@ -1547,14 +1532,12 @@ def unit_of_work(transaction, self):
)
except AssertionError:
logger.error(pformat(span_list))
raise
try:
for span in span_list[2:-1]:
self.assertEqual(span.context.trace_id, span_list[-1].context.trace_id)
self.assertEqual(span.parent.span_id, span_list[-1].context.span_id)
except AssertionError:
logger.error(pformat(span_list))
raise

def test_execute_partitioned_dml(self):
# [START spanner_test_dml_partioned_dml_update]
Expand Down

0 comments on commit 4e135de

Please sign in to comment.