Skip to content

Commit 48f5f65

Browse files
authored
[Cosmos] update changelog for cosmos release (#40301)
* update changelog for cosmos release * Update test_backwards_compatibility_async.py * Update test_backwards_compatibility_async.py
1 parent c3119f9 commit 48f5f65

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

sdk/cosmos/azure-cosmos/CHANGELOG.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
## Release History
22

3-
### 4.10.0b4 (Unreleased)
4-
5-
#### Features Added
6-
7-
#### Breaking Changes
3+
### 4.10.0b4 (2025-04-01)
84

95
#### Bugs Fixed
106
* Fixed bug introduced in 4.10.0b3 with explicitly setting `etag` keyword argument as `None` causing exceptions. See [PR 40282](https://github.com/Azure/azure-sdk-for-python/pull/40282).
117

12-
#### Other Changes
13-
148
### 4.10.0b3 (2025-03-27)
159

1610
#### Bugs Fixed

sdk/cosmos/azure-cosmos/tests/test_backwards_compatibility_async.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
from azure.cosmos.aio import CosmosClient, DatabaseProxy
1313
from azure.cosmos.exceptions import CosmosHttpResponseError
1414

15-
@pytest.mark.cosmosLong
16-
class TestAutoScaleAsync(unittest.IsolatedAsyncioTestCase):
15+
@pytest.mark.cosmosEmulator
16+
class TestBackwardsCompatibilityAsync(unittest.IsolatedAsyncioTestCase):
1717
host = test_config.TestConfig.host
1818
masterKey = test_config.TestConfig.masterKey
1919
connectionPolicy = test_config.TestConfig.connectionPolicy
@@ -75,7 +75,7 @@ async def test_session_token_compatibility_async(self):
7575
assert replace_container is not None
7676
assert replace_container_read != container2_read
7777
assert 'defaultTtl' in replace_container_read # Check for default_ttl as a new additional property
78-
assert replace_container_read['default_ttl'] == 30
78+
assert replace_container_read['defaultTtl'] == 30
7979
await database.delete_container(replace_container.id, session_token=str(uuid.uuid4()))
8080
try:
8181
await container2.read()

0 commit comments

Comments
 (0)