Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
98cbfb08
Kaydet (Commit)
98cbfb08
authored
Tem 09, 2016
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
uitest: kill the LibreOffice instance if it ignores terminate request
Change-Id: I47c69878ebaa834eb75208ce8e5c26544e3e62bd
üst
7f2d8b1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
connection.py
uitest/libreoffice/connection.py
+16
-1
No files found.
uitest/libreoffice/connection.py
Dosyayı görüntüle @
98cbfb08
...
...
@@ -93,7 +93,22 @@ class OfficeConnection:
pass
# ignore
else
:
self
.
soffice
.
terminate
()
ret
=
self
.
soffice
.
wait
()
DEFAULT_SLEEP
=
0.1
time_
=
0
while
time_
<
5
:
time_
+=
DEFAULT_SLEEP
ret_attr
=
self
.
soffice
.
poll
()
if
ret_attr
is
not
None
:
break
time
.
sleep
(
DEFAULT_SLEEP
)
ret
=
0
if
ret_attr
is
None
:
ret
=
1
self
.
soffice
.
terminate
()
# ret = self.soffice.wait()
self
.
xContext
=
None
self
.
socket
=
None
self
.
soffice
=
None
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment