Ejemplo n.º 1
0
    def __init__(self, test_context, extra_rp_conf=dict(), num_brokers=3):
        def enable_wasm_options():
            return dict(
                developer_mode=True,
                enable_coproc=True,
            )

        wasm_opts = enable_wasm_options()
        wasm_opts.update(extra_rp_conf)
        super(WasmTest, self).__init__(test_context,
                                       extra_rp_conf=wasm_opts,
                                       num_brokers=num_brokers)
        self._rpk_tool = RpkTool(self.redpanda)
        self._build_tool = WasmBuildTool(self._rpk_tool)
Ejemplo n.º 2
0
 def start_redpanda_nodes(self, nodes):
     self.start_redpanda(num_nodes=nodes)
     self._rpk_tool = RpkTool(self.redpanda)
     self._build_tool = WasmBuildTool(self._rpk_tool)