Skip to content

Commit

Permalink
fix dataplex scenarios
Browse files Browse the repository at this point in the history
Signed-off-by: tnazarew <[email protected]>
  • Loading branch information
tnazarew committed Oct 24, 2024
1 parent 507b36f commit 88b4cd8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions consumer/consumers/dataplex/validator/validator.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import argparse
import json
import os
import time
from os.path import join

from proto import Message
Expand Down Expand Up @@ -83,6 +84,7 @@ def send_ol_events(self, scenario):
report.append(
{"status": "SUCCESS", 'validation_type': 'syntax', 'name': e['name'], 'entity_type': 'openlineage',
'tags': {}})
time.sleep(0.1)
except InvalidArgument as exc:
report.append(
{"status": "FAILURE", 'validation_type': 'syntax', "details": exc.args[0], 'name': e['name'],
Expand Down

0 comments on commit 88b4cd8

Please sign in to comment.