MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / phase3

Method phase3

test/sql-feature-flags/mzcompose.py:163–178  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

161
162 @classmethod
163 def phase3(cls) -> str:
164 return "\n\n".join(
165 [
166 # Include the header.
167 header(f"{cls.__name__} (phase 3)", drop_schema=False),
168 # Because we have restarted, we need to ensure that we're getting
169 # the parameter's default value, which will be "on".
170 alter_system_reset(cls.feature_name()),
171 cls.initialize(),
172 # The feature is immediately turned on because it's a default parameter.
173 statement_ok(cls.create_item(ordinal=1)),
174 query_ok(cls.query_item(ordinal=1)),
175 # We can drop item #1.
176 statement_ok(cls.drop_item(ordinal=1)),
177 ]
178 )
179
180 @classmethod
181 def reset_all(cls) -> str:

Callers 1

run_testFunction · 0.80

Calls 10

alter_system_resetFunction · 0.85
statement_okFunction · 0.85
query_okFunction · 0.85
feature_nameMethod · 0.80
query_itemMethod · 0.80
headerFunction · 0.70
joinMethod · 0.45
initializeMethod · 0.45
create_itemMethod · 0.45
drop_itemMethod · 0.45

Tested by

no test coverage detected