Commit Graph

11 Commits

Author SHA1 Message Date
Vitaliy Zakaznikov
f959c29be6 Revert "Temporarily disable all LIVE VIEW tests because this feature has subtle bugs that manifestate under TSan"
This reverts commit 96869d405f.
2019-08-24 21:38:50 -04:00
Alexey Milovidov
96869d405f Temporarily disable all LIVE VIEW tests because this feature has subtle bugs that manifestate under TSan 2019-08-23 02:48:52 +03:00
Vitaliy Zakaznikov
280025d5b4 * Updating live view tests to workaround an issue with clickhouse-client exiting when
Ctrl-C is pressed during WATCH query execution instead of going to the
  client prompt.
2019-07-10 08:22:31 -04:00
Vitaliy Zakaznikov
9c5514135d * Updating tests to send Ctrl-C instead of SIGINT signal to abort WATCH query
* Updating client.py to start commands inside shell
* Removing test code from uexpect.py
2019-07-09 23:27:19 -04:00
Vitaliy Zakaznikov
13978c03f3 * Fixing a bug in StorageLiveView.cpp in the getHeader() method
when header block would not match blocks in the stream
  when Const column is present.
* Updating 00963_temporary_live_view_watch_live_timeout.py
  and removed timeout=5 after WATCH query is aborted with Ctrl-C
  so that the default timeout of 20sec is used
* Small style fixes in tests
2019-06-14 10:06:15 -04:00
Vitaliy Zakaznikov
536bdb588d * Fixing and reorganazing LIVE VIEW tests 2019-06-11 21:28:20 -04:00
Vitaliy Zakaznikov
a467e7c105 * Moving uexpect.py so that it can be found
* Trying to fix failed style checks
* Trying to fix clang build fail
2019-06-10 22:22:53 -04:00
Vitaliy Zakaznikov
79989a766c * Fixing uexpect.py close() method and forcing to close the process
by default
* Updating tests to be more robust
2019-06-10 19:56:12 -04:00
Vitaliy Zakaznikov
1ebe3047ff * Moving uexpect.py to dbms/tests/integration/helpers folder
* Updating uexpect.py to support close() method and
  context manager for proper resource cleanup
* Updating tests to use uexpect context manager
2019-06-10 18:12:06 -04:00
Vitaliy Zakaznikov
2930965938 * Renaming live_view_heartbeat_delay setting to live_view_heartbeat_interval
and making the setting to be in seconds instead of usec
* Updated LIVE VIEW table to keep version consistent as long as the server is up
* Removed calculation of hash in writeIntoLiveView method as it is recalculated
  in the LiveViewBlockOutputStream
* Changed to using values from the local context for live_view_heartbeat_interval and
  temporary_live_view_timeout instead of the global context
* Updated LIVE VIEW tests to match the changes
2019-06-06 21:10:56 -04:00
Vitaliy Zakaznikov
a946d09f1b * Adding more LIVE VIEW tests 2019-06-05 18:27:36 -04:00