File tree 5 files changed +23
-13
lines changed
spec/spec_tests/data/index_management
5 files changed +23
-13
lines changed Original file line number Diff line number Diff line change 30
30
expectError :
31
31
# This test always errors in a non-Atlas environment. The test functions as a unit test by asserting
32
32
# that the driver constructs and sends the correct command.
33
+ # The expected error message was changed in SERVER-83003. Check for the substring "Atlas" shared by both error messages.
33
34
isError : true
34
- errorContains : Search index commands are only supported with Atlas
35
+ errorContains : Atlas
35
36
expectEvents :
36
37
- client : *client0
37
38
events :
@@ -50,13 +51,14 @@ tests:
50
51
expectError :
51
52
# This test always errors in a non-Atlas environment. The test functions as a unit test by asserting
52
53
# that the driver constructs and sends the correct command.
54
+ # The expected error message was changed in SERVER-83003. Check for the substring "Atlas" shared by both error messages.
53
55
isError : true
54
- errorContains : Search index commands are only supported with Atlas
56
+ errorContains : Atlas
55
57
expectEvents :
56
58
- client : *client0
57
59
events :
58
60
- commandStartedEvent :
59
61
command :
60
62
createSearchIndexes : *collection0
61
63
indexes : [ { definition: *definition, name: 'test index' } ]
62
- $db : *database0
64
+ $db : *database0
Original file line number Diff line number Diff line change 30
30
expectError :
31
31
# This test always errors in a non-Atlas environment. The test functions as a unit test by asserting
32
32
# that the driver constructs and sends the correct command.
33
+ # The expected error message was changed in SERVER-83003. Check for the substring "Atlas" shared by both error messages.
33
34
isError : true
34
- errorContains : Search index commands are only supported with Atlas
35
+ errorContains : Atlas
35
36
expectEvents :
36
37
- client : *client0
37
38
events :
51
52
expectError :
52
53
# This test always errors in a non-Atlas environment. The test functions as a unit test by asserting
53
54
# that the driver constructs and sends the correct command.
55
+ # The expected error message was changed in SERVER-83003. Check for the substring "Atlas" shared by both error messages.
54
56
isError : true
55
- errorContains : Search index commands are only supported with Atlas
57
+ errorContains : Atlas
56
58
expectEvents :
57
59
- client : *client0
58
60
events :
@@ -71,13 +73,14 @@ tests:
71
73
expectError :
72
74
# This test always errors in a non-Atlas environment. The test functions as a unit test by asserting
73
75
# that the driver constructs and sends the correct command.
76
+ # The expected error message was changed in SERVER-83003. Check for the substring "Atlas" shared by both error messages.
74
77
isError : true
75
- errorContains : Search index commands are only supported with Atlas
78
+ errorContains : Atlas
76
79
expectEvents :
77
80
- client : *client0
78
81
events :
79
82
- commandStartedEvent :
80
83
command :
81
84
createSearchIndexes : *collection0
82
85
indexes : [ { definition: *definition, name: 'test index' } ]
83
- $db : *database0
86
+ $db : *database0
Original file line number Diff line number Diff line change 30
30
expectError :
31
31
# This test always errors in a non-Atlas environment. The test functions as a unit test by asserting
32
32
# that the driver constructs and sends the correct command.
33
+ # The expected error message was changed in SERVER-83003. Check for the substring "Atlas" shared by both error messages.
33
34
isError : true
34
- errorContains : Search index commands are only supported with Atlas
35
+ errorContains : Atlas
35
36
expectEvents :
36
37
- client : *client0
37
38
events :
Original file line number Diff line number Diff line change 28
28
expectError :
29
29
# This test always errors in a non-Atlas environment. The test functions as a unit test by asserting
30
30
# that the driver constructs and sends the correct command.
31
+ # The expected error message was changed in SERVER-83003. Check for the substring "Atlas" shared by both error messages.
31
32
isError : true
32
- errorContains : Search index commands are only supported with Atlas
33
+ errorContains : Atlas
33
34
expectEvents :
34
35
- client : *client0
35
36
events :
48
49
expectError :
49
50
# This test always errors in a non-Atlas environment. The test functions as a unit test by asserting
50
51
# that the driver constructs and sends the correct command.
52
+ # The expected error message was changed in SERVER-83003. Check for the substring "Atlas" shared by both error messages.
51
53
isError : true
52
- errorContains : Search index commands are only supported with Atlas
54
+ errorContains : Atlas
53
55
expectEvents :
54
56
- client : *client0
55
57
events :
71
73
expectError :
72
74
# This test always errors in a non-Atlas environment. The test functions as a unit test by asserting
73
75
# that the driver constructs and sends the correct command.
76
+ # The expected error message was changed in SERVER-83003. Check for the substring "Atlas" shared by both error messages.
74
77
isError : true
75
- errorContains : Search index commands are only supported with Atlas
78
+ errorContains : Atlas
76
79
expectEvents :
77
80
- client : *client0
78
81
events :
82
85
cursor : { batchSize: 10 }
83
86
pipeline :
84
87
- $listSearchIndexes : { name: *indexName }
85
- $db : *database0
88
+ $db : *database0
Original file line number Diff line number Diff line change 31
31
expectError :
32
32
# This test always errors in a non-Atlas environment. The test functions as a unit test by asserting
33
33
# that the driver constructs and sends the correct command.
34
+ # The expected error message was changed in SERVER-83003. Check for the substring "Atlas" shared by both error messages.
34
35
isError : true
35
- errorContains : Search index commands are only supported with Atlas
36
+ errorContains : Atlas
36
37
expectEvents :
37
38
- client : *client0
38
39
events :
You can’t perform that action at this time.
0 commit comments