Skip to content

Commit ffb5dea

Browse files
committed
Deprecate Astrolabe-only test values rather than removing them.
1 parent bbd40e3 commit ffb5dea

File tree

3 files changed

+98
-4
lines changed

3 files changed

+98
-4
lines changed

source/unified-test-format/schema-1.24.json

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "http://json-schema.org/draft-07/schema#",
2+
"$schema": "https://json-schema.org/draft/2019-09/schema#",
33
"title": "Unified Test Format",
44
"type": "object",
55
"additionalProperties": false,
@@ -157,6 +157,14 @@
157157
"type": "string"
158158
}
159159
},
160+
"storeEventsAsEntities": {
161+
"deprecated": true,
162+
"type": "array",
163+
"minItems": 1,
164+
"items": {
165+
"$ref": "#/definitions/storeEventsAsEntity"
166+
}
167+
},
160168
"observeLogMessages": {
161169
"type": "object",
162170
"minProperties": 1,
@@ -475,6 +483,45 @@
475483
}
476484
}
477485
},
486+
"storeEventsAsEntity": {
487+
"deprecated": true,
488+
"type": "object",
489+
"additionalProperties": false,
490+
"required": [
491+
"id",
492+
"events"
493+
],
494+
"properties": {
495+
"id": {
496+
"type": "string"
497+
},
498+
"events": {
499+
"type": "array",
500+
"minItems": 1,
501+
"items": {
502+
"type": "string",
503+
"enum": [
504+
"PoolCreatedEvent",
505+
"PoolReadyEvent",
506+
"PoolClearedEvent",
507+
"PoolClosedEvent",
508+
"ConnectionCreatedEvent",
509+
"ConnectionReadyEvent",
510+
"ConnectionClosedEvent",
511+
"ConnectionCheckOutStartedEvent",
512+
"ConnectionCheckOutFailedEvent",
513+
"ConnectionCheckedOutEvent",
514+
"ConnectionCheckedInEvent",
515+
"CommandStartedEvent",
516+
"CommandSucceededEvent",
517+
"CommandFailedEvent",
518+
"ServerDescriptionChangedEvent",
519+
"TopologyDescriptionChangedEvent"
520+
]
521+
}
522+
}
523+
}
524+
},
478525
"collectionData": {
479526
"type": "object",
480527
"additionalProperties": false,

source/unified-test-format/schema-latest.json

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "http://json-schema.org/draft-07/schema#",
2+
"$schema": "https://json-schema.org/draft/2019-09/schema#",
33
"title": "Unified Test Format",
44
"type": "object",
55
"additionalProperties": false,
@@ -157,6 +157,14 @@
157157
"type": "string"
158158
}
159159
},
160+
"storeEventsAsEntities": {
161+
"deprecated": true,
162+
"type": "array",
163+
"minItems": 1,
164+
"items": {
165+
"$ref": "#/definitions/storeEventsAsEntity"
166+
}
167+
},
160168
"observeLogMessages": {
161169
"type": "object",
162170
"minProperties": 1,
@@ -475,6 +483,45 @@
475483
}
476484
}
477485
},
486+
"storeEventsAsEntity": {
487+
"deprecated": true,
488+
"type": "object",
489+
"additionalProperties": false,
490+
"required": [
491+
"id",
492+
"events"
493+
],
494+
"properties": {
495+
"id": {
496+
"type": "string"
497+
},
498+
"events": {
499+
"type": "array",
500+
"minItems": 1,
501+
"items": {
502+
"type": "string",
503+
"enum": [
504+
"PoolCreatedEvent",
505+
"PoolReadyEvent",
506+
"PoolClearedEvent",
507+
"PoolClosedEvent",
508+
"ConnectionCreatedEvent",
509+
"ConnectionReadyEvent",
510+
"ConnectionClosedEvent",
511+
"ConnectionCheckOutStartedEvent",
512+
"ConnectionCheckOutFailedEvent",
513+
"ConnectionCheckedOutEvent",
514+
"ConnectionCheckedInEvent",
515+
"CommandStartedEvent",
516+
"CommandSucceededEvent",
517+
"CommandFailedEvent",
518+
"ServerDescriptionChangedEvent",
519+
"TopologyDescriptionChangedEvent"
520+
]
521+
}
522+
}
523+
}
524+
},
478525
"collectionData": {
479526
"type": "object",
480527
"additionalProperties": false,

source/unified-test-format/unified-test-format.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3401,8 +3401,8 @@ other specs *and* collating spec changes developed in parallel or during the sam
34013401

34023402
- 2025-06-10: **Schema version 1.24.**
34033403

3404-
Remove `storeEventsAsEntities` option for client entities and `loop` operation as part of sunsetting Drivers Atlas
3405-
Testing (Astrolabe).
3404+
Deprecate `storeEventsAsEntities` option for client entities and `loop` operation in the schema and remove them from
3405+
this spec.
34063406

34073407
- 2025-06-04: Deprecate the `serverless` runOnRequirement
34083408

0 commit comments

Comments
 (0)