Test output transport_name = 'grpc'
def test_list_partitions_pager(transport_name: str = "grpc"):
client = MetadataServiceClient(
credentials=ga_credentials.AnonymousCredentials,
transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_partitions), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
metadata_.Partition(),
metadata_.Partition(),
],
next_page_token="abc",
),
metadata_.ListPartitionsResponse(
partitions=[],
next_page_token="def",
),
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
],
next_page_token="ghi",
),
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
metadata_.Partition(),
],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_partitions(request={})
assert pager._metadata == metadata
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, metadata_.Partition) for i in results)
E assert False
E + where False = all(<generator object test_list_partitions_pager.. at 0x7f3b6ff79460>)
tests/unit/gapic/dataplex_v1/test_metadata_service.py:3024: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 4e00aed
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_entities_async_pager():
client = MetadataServiceAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_entities), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
metadata_.Entity(),
metadata_.Entity(),
],
next_page_token="abc",
),
metadata_.ListEntitiesResponse(
entities=[],
next_page_token="def",
),
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
],
next_page_token="ghi",
),
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
metadata_.Entity(),
],
),
RuntimeError,
)
async_pager = await client.list_entities(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, metadata_.Entity) for i in responses)
E assert False
E + where False = all(<generator object test_list_entities_async_pager.. at 0x7fb497d00f90>)
tests/unit/gapic/dataplex_v1/test_metadata_service.py:1985: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 4e00aed
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_partitions_async_pager():
client = MetadataServiceAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_partitions), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
metadata_.Partition(),
metadata_.Partition(),
],
next_page_token="abc",
),
metadata_.ListPartitionsResponse(
partitions=[],
next_page_token="def",
),
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
],
next_page_token="ghi",
),
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
metadata_.Partition(),
],
),
RuntimeError,
)
async_pager = await client.list_partitions(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, metadata_.Partition) for i in responses)
E assert False
E + where False = all(<generator object test_list_partitions_async_pager.. at 0x7f75febb6750>)
tests/unit/gapic/dataplex_v1/test_metadata_service.py:3115: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 4e00aed
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_entities_async_pager():
client = MetadataServiceAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_entities), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
metadata_.Entity(),
metadata_.Entity(),
],
next_page_token="abc",
),
metadata_.ListEntitiesResponse(
entities=[],
next_page_token="def",
),
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
],
next_page_token="ghi",
),
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
metadata_.Entity(),
],
),
RuntimeError,
)
async_pager = await client.list_entities(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, metadata_.Entity) for i in responses)
E assert False
E + where False = all(<generator object test_list_entities_async_pager.. at 0x7fed69a3f2e0>)
tests/unit/gapic/dataplex_v1/test_metadata_service.py:1985: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 4e00aed
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_partitions_async_pager():
client = MetadataServiceAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_partitions), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
metadata_.Partition(),
metadata_.Partition(),
],
next_page_token="abc",
),
metadata_.ListPartitionsResponse(
partitions=[],
next_page_token="def",
),
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
],
next_page_token="ghi",
),
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
metadata_.Partition(),
],
),
RuntimeError,
)
async_pager = await client.list_partitions(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, metadata_.Partition) for i in responses)
E assert False
E + where False = all(<generator object test_list_partitions_async_pager.. at 0x7fed6ac5d0b0>)
tests/unit/gapic/dataplex_v1/test_metadata_service.py:3115: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 4e00aed
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_content_async_pager():
client = ContentServiceAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_content), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
content.ListContentResponse(
content=[
analyze.Content(),
analyze.Content(),
analyze.Content(),
],
next_page_token="abc",
),
content.ListContentResponse(
content=[],
next_page_token="def",
),
content.ListContentResponse(
content=[
analyze.Content(),
],
next_page_token="ghi",
),
content.ListContentResponse(
content=[
analyze.Content(),
analyze.Content(),
],
),
RuntimeError,
)
async_pager = await client.list_content(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, analyze.Content) for i in responses)
E assert False
E + where False = all(<generator object test_list_content_async_pager.. at 0x7fed6945b9e0>)
tests/unit/gapic/dataplex_v1/test_content_service.py:1992: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 4e00aed
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_entities_async_pager():
client = MetadataServiceAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_entities), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
metadata_.Entity(),
metadata_.Entity(),
],
next_page_token="abc",
),
metadata_.ListEntitiesResponse(
entities=[],
next_page_token="def",
),
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
],
next_page_token="ghi",
),
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
metadata_.Entity(),
],
),
RuntimeError,
)
async_pager = await client.list_entities(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, metadata_.Entity) for i in responses)
E assert False
E + where False = all(<generator object test_list_entities_async_pager.. at 0x7f75febd00d0>)
tests/unit/gapic/dataplex_v1/test_metadata_service.py:1985: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 4e00aed
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_entities_async_pager():
client = MetadataServiceAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_entities), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
metadata_.Entity(),
metadata_.Entity(),
],
next_page_token="abc",
),
metadata_.ListEntitiesResponse(
entities=[],
next_page_token="def",
),
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
],
next_page_token="ghi",
),
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
metadata_.Entity(),
],
),
RuntimeError,
)
async_pager = await client.list_entities(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, metadata_.Entity) for i in responses)
E assert False
E + where False = all(<generator object test_list_entities_async_pager.. at 0x7f3b7006ece0>)
tests/unit/gapic/dataplex_v1/test_metadata_service.py:1985: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 4e00aed
buildURL: Build Status , Sponge
status: failed
Test output transport_name = 'grpc'
def test_list_content_pager(transport_name: str = "grpc"):
client = ContentServiceClient(
credentials=ga_credentials.AnonymousCredentials,
transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_content), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
content.ListContentResponse(
content=[
analyze.Content(),
analyze.Content(),
analyze.Content(),
],
next_page_token="abc",
),
content.ListContentResponse(
content=[],
next_page_token="def",
),
content.ListContentResponse(
content=[
analyze.Content(),
],
next_page_token="ghi",
),
content.ListContentResponse(
content=[
analyze.Content(),
analyze.Content(),
],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_content(request={})
assert pager._metadata == metadata
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, analyze.Content) for i in results)
E assert False
E + where False = all(<generator object test_list_content_pager.. at 0x7f75ff921d50>)
tests/unit/gapic/dataplex_v1/test_content_service.py:1901: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 4e00aed
buildURL: Build Status , Sponge
status: failed
Test output transport_name = 'grpc'
def test_list_partitions_pager(transport_name: str = "grpc"):
client = MetadataServiceClient(
credentials=ga_credentials.AnonymousCredentials,
transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_partitions), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
metadata_.Partition(),
metadata_.Partition(),
],
next_page_token="abc",
),
metadata_.ListPartitionsResponse(
partitions=[],
next_page_token="def",
),
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
],
next_page_token="ghi",
),
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
metadata_.Partition(),
],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_partitions(request={})
assert pager._metadata == metadata
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, metadata_.Partition) for i in results)
E assert False
E + where False = all(<generator object test_list_partitions_pager.. at 0x7fb49772f7b0>)
tests/unit/gapic/dataplex_v1/test_metadata_service.py:3024: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 4e00aed
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_content_async_pager():
client = ContentServiceAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_content), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
content.ListContentResponse(
content=[
analyze.Content(),
analyze.Content(),
analyze.Content(),
],
next_page_token="abc",
),
content.ListContentResponse(
content=[],
next_page_token="def",
),
content.ListContentResponse(
content=[
analyze.Content(),
],
next_page_token="ghi",
),
content.ListContentResponse(
content=[
analyze.Content(),
analyze.Content(),
],
),
RuntimeError,
)
async_pager = await client.list_content(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, analyze.Content) for i in responses)
E assert False
E + where False = all(<generator object test_list_content_async_pager.. at 0x7f75ff0c6350>)
tests/unit/gapic/dataplex_v1/test_content_service.py:1992: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 4e00aed
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_content_async_pager():
client = ContentServiceAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_content), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
content.ListContentResponse(
content=[
analyze.Content(),
analyze.Content(),
analyze.Content(),
],
next_page_token="abc",
),
content.ListContentResponse(
content=[],
next_page_token="def",
),
content.ListContentResponse(
content=[
analyze.Content(),
],
next_page_token="ghi",
),
content.ListContentResponse(
content=[
analyze.Content(),
analyze.Content(),
],
),
RuntimeError,
)
async_pager = await client.list_content(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, analyze.Content) for i in responses)
E assert False
E + where False = all(<generator object test_list_content_async_pager.. at 0x7fb4968d8f20>)
tests/unit/gapic/dataplex_v1/test_content_service.py:1992: AssertionError
Many tests failed at the same time in this package.
I will close this issue when there are no more failures in this package and
there is at least one pass.
No new issues will be filed for this package until this issue is closed.
If there are already issues for individual test cases, I will close them when
the corresponding test passes. You can close them earlier, if you prefer, and
I won't reopen them while this issue is still open.
Here are the tests that failed:
test_list_lakes_pager
test_list_lakes_async_pager
test_list_lake_actions_pager
test_list_lake_actions_async_pager
test_list_zones_pager
test_list_zones_async_pager
test_list_zone_actions_pager
test_list_zone_actions_async_pager
test_list_assets_pager
test_list_assets_async_pager
test_list_asset_actions_pager
test_list_asset_actions_async_pager
test_list_tasks_pager
test_list_tasks_async_pager
test_list_jobs_pager
test_list_jobs_async_pager
test_list_environments_pager
test_list_environments_async_pager
test_list_sessions_pager
test_list_sessions_async_pager
commit: 4e00aed
buildURL: Build Status , Sponge
status: failed
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 4e00aed
buildURL: Build Status , Sponge
status: failed
Test output transport_name = 'grpc'
def test_list_entities_pager(transport_name: str = "grpc"):
client = MetadataServiceClient(
credentials=ga_credentials.AnonymousCredentials,
transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_entities), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
metadata_.Entity(),
metadata_.Entity(),
],
next_page_token="abc",
),
metadata_.ListEntitiesResponse(
entities=[],
next_page_token="def",
),
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
],
next_page_token="ghi",
),
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
metadata_.Entity(),
],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_entities(request={})
assert pager._metadata == metadata
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, metadata_.Entity) for i in results)
E assert False
E + where False = all(<generator object test_list_entities_pager.. at 0x7f3b701067a0>)
tests/unit/gapic/dataplex_v1/test_metadata_service.py:1894: AssertionError
The following release PRs may have failed:
#85 - The release job was triggered, but has not reported back success.
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 4e00aed
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_partitions_async_pager():
client = MetadataServiceAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_partitions), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
metadata_.Partition(),
metadata_.Partition(),
],
next_page_token="abc",
),
metadata_.ListPartitionsResponse(
partitions=[],
next_page_token="def",
),
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
],
next_page_token="ghi",
),
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
metadata_.Partition(),
],
),
RuntimeError,
)
async_pager = await client.list_partitions(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, metadata_.Partition) for i in responses)
E assert False
E + where False = all(<generator object test_list_partitions_async_pager.. at 0x7f3b70918e40>)
tests/unit/gapic/dataplex_v1/test_metadata_service.py:3115: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 4e00aed
buildURL: Build Status , Sponge
status: failed
Test output transport_name = 'grpc'
def test_list_entities_pager(transport_name: str = "grpc"):
client = MetadataServiceClient(
credentials=ga_credentials.AnonymousCredentials,
transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_entities), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
metadata_.Entity(),
metadata_.Entity(),
],
next_page_token="abc",
),
metadata_.ListEntitiesResponse(
entities=[],
next_page_token="def",
),
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
],
next_page_token="ghi",
),
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
metadata_.Entity(),
],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_entities(request={})
assert pager._metadata == metadata
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, metadata_.Entity) for i in results)
E assert False
E + where False = all(<generator object test_list_entities_pager.. at 0x7fb49764ee40>)
tests/unit/gapic/dataplex_v1/test_metadata_service.py:1894: AssertionError
Many tests failed at the same time in this package.
I will close this issue when there are no more failures in this package and
there is at least one pass.
No new issues will be filed for this package until this issue is closed.
If there are already issues for individual test cases, I will close them when
the corresponding test passes. You can close them earlier, if you prefer, and
I won't reopen them while this issue is still open.
Here are the tests that failed:
test_list_lakes_pager
test_list_lakes_async_pager
test_list_lake_actions_pager
test_list_lake_actions_async_pager
test_list_zones_pager
test_list_zones_async_pager
test_list_zone_actions_pager
test_list_zone_actions_async_pager
test_list_assets_pager
test_list_assets_async_pager
test_list_asset_actions_pager
test_list_asset_actions_async_pager
test_list_tasks_pager
test_list_tasks_async_pager
test_list_jobs_pager
test_list_jobs_async_pager
test_list_environments_pager
test_list_environments_async_pager
test_list_sessions_pager
test_list_sessions_async_pager
commit: 4e00aed
buildURL: Build Status , Sponge
status: failed
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 4e00aed
buildURL: Build Status , Sponge
status: failed
Test output transport_name = 'grpc'
def test_list_entities_pager(transport_name: str = "grpc"):
client = MetadataServiceClient(
credentials=ga_credentials.AnonymousCredentials,
transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_entities), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
metadata_.Entity(),
metadata_.Entity(),
],
next_page_token="abc",
),
metadata_.ListEntitiesResponse(
entities=[],
next_page_token="def",
),
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
],
next_page_token="ghi",
),
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
metadata_.Entity(),
],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_entities(request={})
assert pager._metadata == metadata
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, metadata_.Entity) for i in results)
E assert False
E + where False = all(<generator object test_list_entities_pager.. at 0x7fed699e62e0>)
tests/unit/gapic/dataplex_v1/test_metadata_service.py:1894: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 4e00aed
buildURL: Build Status , Sponge
status: failed
Test output transport_name = 'grpc'
def test_list_partitions_pager(transport_name: str = "grpc"):
client = MetadataServiceClient(
credentials=ga_credentials.AnonymousCredentials,
transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_partitions), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
metadata_.Partition(),
metadata_.Partition(),
],
next_page_token="abc",
),
metadata_.ListPartitionsResponse(
partitions=[],
next_page_token="def",
),
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
],
next_page_token="ghi",
),
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
metadata_.Partition(),
],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_partitions(request={})
assert pager._metadata == metadata
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, metadata_.Partition) for i in results)
E assert False
E + where False = all(<generator object test_list_partitions_pager.. at 0x7f75febd0f50>)
tests/unit/gapic/dataplex_v1/test_metadata_service.py:3024: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 4e00aed
buildURL: Build Status , Sponge
status: failed
Test output transport_name = 'grpc'
def test_list_partitions_pager(transport_name: str = "grpc"):
client = MetadataServiceClient(
credentials=ga_credentials.AnonymousCredentials,
transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_partitions), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
metadata_.Partition(),
metadata_.Partition(),
],
next_page_token="abc",
),
metadata_.ListPartitionsResponse(
partitions=[],
next_page_token="def",
),
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
],
next_page_token="ghi",
),
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
metadata_.Partition(),
],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_partitions(request={})
assert pager._metadata == metadata
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, metadata_.Partition) for i in results)
E assert False
E + where False = all(<generator object test_list_partitions_pager.. at 0x7fed6a4e5a50>)
tests/unit/gapic/dataplex_v1/test_metadata_service.py:3024: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 4e00aed
buildURL: Build Status , Sponge
status: failed
Test output transport_name = 'grpc'
def test_list_entities_pager(transport_name: str = "grpc"):
client = MetadataServiceClient(
credentials=ga_credentials.AnonymousCredentials,
transport=transport_name,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(type(client.transport.list_entities), "__call__") as call:
# Set the response to a series of pages.
call.side_effect = (
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
metadata_.Entity(),
metadata_.Entity(),
],
next_page_token="abc",
),
metadata_.ListEntitiesResponse(
entities=[],
next_page_token="def",
),
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
],
next_page_token="ghi",
),
metadata_.ListEntitiesResponse(
entities=[
metadata_.Entity(),
metadata_.Entity(),
],
),
RuntimeError,
)
metadata = ()
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", ""),)),
)
pager = client.list_entities(request={})
assert pager._metadata == metadata
results = list(pager)
assert len(results) == 6
assert all(isinstance(i, metadata_.Entity) for i in results)
E assert False
E + where False = all(<generator object test_list_entities_pager.. at 0x7f75fecaf6d0>)
tests/unit/gapic/dataplex_v1/test_metadata_service.py:1894: AssertionError
Many tests failed at the same time in this package.
I will close this issue when there are no more failures in this package and
there is at least one pass.
No new issues will be filed for this package until this issue is closed.
If there are already issues for individual test cases, I will close them when
the corresponding test passes. You can close them earlier, if you prefer, and
I won't reopen them while this issue is still open.
Here are the tests that failed:
test_list_lakes_pager
test_list_lakes_async_pager
test_list_lake_actions_pager
test_list_lake_actions_async_pager
test_list_zones_pager
test_list_zones_async_pager
test_list_zone_actions_pager
test_list_zone_actions_async_pager
test_list_assets_pager
test_list_assets_async_pager
test_list_asset_actions_pager
test_list_asset_actions_async_pager
test_list_tasks_pager
test_list_tasks_async_pager
test_list_jobs_pager
test_list_jobs_async_pager
test_list_environments_pager
test_list_environments_async_pager
test_list_sessions_pager
test_list_sessions_async_pager
commit: 4e00aed
buildURL: Build Status , Sponge
status: failed
This test failed!
To configure my behavior, see the Flaky Bot documentation .
If I'm commenting on this issue too often, add the flakybot: quiet
label and
I will stop commenting.
commit: 4e00aed
buildURL: Build Status , Sponge
status: failed
Test output @pytest.mark.asyncio
async def test_list_partitions_async_pager():
client = MetadataServiceAsyncClient(
credentials=ga_credentials.AnonymousCredentials,
)
# Mock the actual call within the gRPC stub, and fake the request.
with mock.patch.object(
type(client.transport.list_partitions), "__call__", new_callable=mock.AsyncMock
) as call:
# Set the response to a series of pages.
call.side_effect = (
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
metadata_.Partition(),
metadata_.Partition(),
],
next_page_token="abc",
),
metadata_.ListPartitionsResponse(
partitions=[],
next_page_token="def",
),
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
],
next_page_token="ghi",
),
metadata_.ListPartitionsResponse(
partitions=[
metadata_.Partition(),
metadata_.Partition(),
],
),
RuntimeError,
)
async_pager = await client.list_partitions(
request={},
)
assert async_pager.next_page_token == "abc"
responses = []
async for response in async_pager: # pragma: no branch
responses.append(response)
assert len(responses) == 6
assert all(isinstance(i, metadata_.Partition) for i in responses)
E assert False
E + where False = all(<generator object test_list_partitions_async_pager.. at 0x7fb4975cfe40>)
tests/unit/gapic/dataplex_v1/test_metadata_service.py:3115: AssertionError
Many tests failed at the same time in this package.
I will close this issue when there are no more failures in this package and
there is at least one pass.
No new issues will be filed for this package until this issue is closed.
If there are already issues for individual test cases, I will close them when
the corresponding test passes. You can close them earlier, if you prefer, and
I won't reopen them while this issue is still open.
Here are the tests that failed:
test_list_lakes_pager
test_list_lakes_async_pager
test_list_lake_actions_pager
test_list_lake_actions_async_pager
test_list_zones_pager
test_list_zones_async_pager
test_list_zone_actions_pager
test_list_zone_actions_async_pager
test_list_assets_pager
test_list_assets_async_pager
test_list_asset_actions_pager
test_list_asset_actions_async_pager
test_list_tasks_pager
test_list_tasks_async_pager
test_list_jobs_pager
test_list_jobs_async_pager
test_list_environments_pager
test_list_environments_async_pager
test_list_sessions_pager
test_list_sessions_async_pager
commit: 4e00aed
buildURL: Build Status , Sponge
status: failed
Recommend Projects
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
Recommend Topics
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
Recommend Org
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.
Copyright ยฉ 2024 Git Product โค๏ธ Mail to me