Re: [Pharo-users] Lengthy operations block UI

2018-01-26 Thread Andrei Stebakov
Basically the test confirms that the long lasting scraping operation returns the expected result . As you suggested let me take a look at Zn On Jan 26, 2018 10:31, "Sven Van Caekenberghe" wrote: > > > > On 26 Jan 2018, at 16:16, Andrei Stebakov wrote: > > > >

Re: [Pharo-users] Lengthy operations block UI

2018-01-26 Thread Sven Van Caekenberghe
> On 26 Jan 2018, at 16:16, Andrei Stebakov wrote: > > How do you handle forked operations from TestCase point of view, when the > test expects a value to assert from an asynchronous operation? tests typically run sequential & synchronous, it is hard to work with them

Re: [Pharo-users] Lengthy operations block UI

2018-01-26 Thread Andrei Stebakov
How do you handle forked operations from TestCase point of view, when the test expects a value to assert from an asynchronous operation? On Jan 25, 2018 10:41, "Andrei Stebakov" wrote: > Thanks, Sven, got it > > On Jan 25, 2018 10:36, "Sven Van Caekenberghe"

Re: [Pharo-users] Lengthy operations block UI

2018-01-25 Thread Andrei Stebakov
Thanks, Sven, got it On Jan 25, 2018 10:36, "Sven Van Caekenberghe" wrote: > Hi Andrei, > > > On 25 Jan 2018, at 16:26, Andrei Stebakov wrote: > > > > I have written some code that has a deep nested loop of calling > ZnClient>>get. > > In the loop I also

Re: [Pharo-users] Lengthy operations block UI

2018-01-25 Thread Sven Van Caekenberghe
Hi Andrei, > On 25 Jan 2018, at 16:26, Andrei Stebakov wrote: > > I have written some code that has a deep nested loop of calling > ZnClient>>get. > In the loop I also execute Transcript>>show but I can only see the transcript > output after a few seconds when the loop

[Pharo-users] Lengthy operations block UI

2018-01-25 Thread Andrei Stebakov
I have written some code that has a deep nested loop of calling ZnClient>>get. In the loop I also execute Transcript>>show but I can only see the transcript output after a few seconds when the loop is finished. During all that time while the loop is busy the UI is also unresponsive. Is there a way