Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,6 @@ async def test_set_external_storage_location(self) -> None:
finally:
self._teardown_bucket_location(key_prefix=folder_in_s3_to_cleanup)

@pytest.mark.skip(
reason="Server-side error: STS storage token endpoint is returning errors. "
"Re-enable once PLFM-9604 is resolved on the server side."
)
async def test_sts_external_storage_location(self) -> None:
"""Test creating and using an external STS storage location.
A custom storage location is created with sts enabled,
Expand Down Expand Up @@ -352,10 +348,6 @@ async def test_sts_external_storage_location(self) -> None:
finally:
self._teardown_bucket_location(key_prefix=folder_in_s3_to_cleanup)

@pytest.mark.skip(
reason="Server-side error: STS storage token endpoint is returning errors. "
"Re-enable once PLFM-9604 is resolved on the server side."
)
async def test_boto_upload_acl(self) -> None:
"""Verify when we store a Synapse object using boto we apply a
bucket-owner-full-control ACL to the object"""
Expand Down
5 changes: 3 additions & 2 deletions tests/integration/synapseclient/integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ def test_entity_version(syn, project, schedule_for_cleanup):

# Update the Entity and make sure the version is incremented
entity.foo = 998877
entity["name"] = "foobarbat"
unique_name = f"foobarbat-{uuid.uuid4()}"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

entity["name"] = unique_name
entity["description"] = "This is a test entity..."
entity = syn.store(entity, forceVersion=True, versionLabel="Prada remix")
assert entity.versionNumber == 2
Expand All @@ -132,7 +133,7 @@ def test_entity_version(syn, project, schedule_for_cleanup):
returnEntity = syn.get(entity)
assert returnEntity.versionNumber == 2
assert returnEntity["foo"][0] == 998877
assert returnEntity["name"] == "foobarbat"
assert returnEntity["name"] == unique_name
assert returnEntity["description"] == "This is a test entity..."
assert returnEntity["versionLabel"] == "Prada remix"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,14 +212,14 @@ def init(self, syn: Synapse, schedule_for_cleanup: Callable[..., None]) -> None:
self.syn = syn
self.schedule_for_cleanup = schedule_for_cleanup

@pytest.fixture(scope="class")
@pytest.fixture(scope="function")

@linglp linglp Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

async def base_table_with_data(
self,
project_model: Project,
syn: Synapse,
schedule_for_cleanup: Callable[..., None],
) -> Table:
"""Create a table with data, shared across all tests in this class."""
"""Create a table with data for use in a single test."""
table_name = str(uuid.uuid4())
table = Table(
name=table_name,
Expand Down
3 changes: 3 additions & 0 deletions tests/integration/synapseclient/test_command_line_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ def parse(regex, output):
raise Exception('ERROR parsing output: "' + str(output) + '"')


@pytest.mark.skip(

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reason="Unbounded retry loop on Wikimedia 429 kills CI — see SYNPY-1855"
)
def test_command_line_client(test_state):
print("TESTING CMD LINE CLIENT")
# Create a Project
Expand Down
Loading