Skip to content

Commit

Permalink
[hotfix][docs][pyflink] Regenerate docs and adjust PyFlink tests fpr …
Browse files Browse the repository at this point in the history
…FLINK-21694
  • Loading branch information
StephanEwen committed Apr 20, 2021
1 parent 9e4e14a commit 80c1e71
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<tbody>
<tr>
<td><h5>state.backend.rocksdb.checkpoint.transfer.thread.num</h5></td>
<td style="word-wrap: break-word;">1</td>
<td style="word-wrap: break-word;">4</td>
<td>Integer</td>
<td>The number of threads (per stateful operator) used to transfer (download and upload) files in RocksDBStateBackend.</td>
</tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<tbody>
<tr>
<td><h5>state.backend.rocksdb.checkpoint.transfer.thread.num</h5></td>
<td style="word-wrap: break-word;">1</td>
<td style="word-wrap: break-word;">4</td>
<td>Integer</td>
<td>The number of threads (per stateful operator) used to transfer (download and upload) files in RocksDBStateBackend.</td>
</tr>
Expand Down
6 changes: 2 additions & 4 deletions flink-python/pyflink/datastream/tests/test_state_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,9 @@ def test_get_set_number_of_transfering_threads(self):

state_backend = RocksDBStateBackend("file:https://var/checkpoints/")

self.assertEqual(state_backend.get_number_of_transfering_threads(), 1)
state_backend.set_number_of_transfering_threads(7)

state_backend.set_number_of_transfering_threads(4)

self.assertEqual(state_backend.get_number_of_transfering_threads(), 4)
self.assertEqual(state_backend.get_number_of_transfering_threads(), 7)


class CustomStateBackendTests(PyFlinkTestCase):
Expand Down

0 comments on commit 80c1e71

Please sign in to comment.